Created
August 25, 2016 15:06
-
-
Save lucj/5f21f7c62b88663692751f0ef9a7921f to your computer and use it in GitHub Desktop.
run container with and without selinux labels
This file contains hidden or 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
# Run confined container | |
[root@node ~]# docker run -it ubuntu /bin/bash | |
standard_init_linux.go:175: exec user process caused "permission denied" | |
# Run unconfined container | |
[root@node ~]# docker run -it --security-opt label:disable ubuntu /bin/bash | |
root@f76b8d4fa87e:/# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment