Test propagation of bind mount from docker container to host
Fabian Peter Hammerle 9e1009120f Revert "tee mount & user namespace" | 5 anni fa | |
---|---|---|
Dockerfile | 5 anni fa | |
README.md | 5 anni fa |
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 .