Test propagation of bind mount from docker container to host
Fabian Peter Hammerle 9e1009120f Revert "tee mount & user namespace" | 5 år sedan | |
---|---|---|
Dockerfile | 5 år sedan | |
README.md | 5 år sedan |
Test propagation of bind mount.
docker run --rm --init \
--cap-add SYS_ADMIN --security-opt apparmor:unconfined \
-v /tmp/prop-test-host:/prop-test/vol:rshared \
--name mount-propagation-test fphammerle/mount-propagation-test
cat /tmp/prop-test-host/mp/mountinfo-container
You may need to disable user namespace remapping --userns host
due to https://github.com/moby/moby/issues/36472#issuecomment-480388275 .