You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Explored a little more, but today is the wrong day for more work on this issue.
It is clear that SELinux is the culprit causing the error.
I have not resolved the problem yet, but can diagnose - not sure that the jig code has to be adapted.
This works:
docker run --rm -it --name devtest -v /export/data:/data:z busybox
This does not:
docker run --rm -it --name devtest -v /run/media/arjen/a-drive:/data:z busybox
Apparently, the auto-mounted drive with the collection has different settings, maybe need a chcon command, TBD.
arjenpdevries
changed the title
Cannot mount collection directory
Cannot mount collection directory under SELinux (Fedora)
Jun 14, 2019
but
I guess it is an SELinux caused problem due to a missing trailing
:z
or:Z
in the docker volume mount command?The text was updated successfully, but these errors were encountered: