Created
December 3, 2014 18:57
-
-
Save cap10morgan/44bf796708ead61db4e3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wmorgan@docker1:~$ docker run --rm ubuntu /bin/bash -c 'echo -n; ls -l /proc/1/exe' | |
ls: cannot read symbolic link /proc/1/exe: Permission denied | |
lrwxrwxrwx 1 root root 0 Dec 3 18:56 /proc/1/exe | |
wmorgan@docker1:~$ docker run --rm --cap-add SYS_PTRACE ubuntu /bin/bash -c 'echo -n; ls -l /proc/1/exe' | |
ls: cannot read symbolic link /proc/1/exe: Permission denied | |
lrwxrwxrwx 1 root root 0 Dec 3 18:57 /proc/1/exe | |
wmorgan@docker1:~$ docker run --rm --privileged ubuntu /bin/bash -c 'echo -n; ls -l /proc/1/exe' | |
lrwxrwxrwx 1 root root 0 Dec 3 18:57 /proc/1/exe -> /bin/bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment