Open arjenpdevries opened 5 years ago
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.
but
I guess it is an SELinux caused problem due to a missing trailing
:z
or:Z
in the docker volume mount command?