Created
May 11, 2017 03:29
-
-
Save rainbowbird/32481a8525b331ec2637930e47ca0104 to your computer and use it in GitHub Desktop.
useful docker commands
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
# http://stackoverflow.com/questions/28721699/root-password-inside-a-docker-container | |
1. docker run --security-opt seccomp:unconfined | |
2. docker exec -u 0 -it <container_id> bash | |
needs the container is up and running at the moment when you type the above commad |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment