Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for selinux and podman to MLCube 2.0. #205

Open
dfeddema opened this issue Sep 30, 2021 · 2 comments
Open

Add support for selinux and podman to MLCube 2.0. #205

dfeddema opened this issue Sep 30, 2021 · 2 comments
Milestone

Comments

@dfeddema
Copy link
Contributor

podman run --rm -ti --volume /root/mlcube_2.0/mlcube_examples/mnist/workspace/logs/:/mlcube_io2/:z --entrypoint=/bin/bash mlcommons/mnist:0.0.1

Add a ":z"option to the volume mount, which tells Podman to relabel the volume's content to match the label inside the container. And the SELinux problem is solved. Otherwise you will get "Permission denied" error when you attempt to create files in /mlcube_io2. (above).

@relja128 relja128 added this to the 2021.11 milestone Oct 22, 2021
@bkmgit
Copy link

bkmgit commented Apr 11, 2022

Maybe worth using Udica?

@bkmgit
Copy link

bkmgit commented Apr 11, 2022

Maybe Podman should have its own configuration? WIP #232

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants