Skip to content

Instantly share code, notes, and snippets.

@rainbowbird
Created May 11, 2017 03:29
Show Gist options
  • Save rainbowbird/32481a8525b331ec2637930e47ca0104 to your computer and use it in GitHub Desktop.
Save rainbowbird/32481a8525b331ec2637930e47ca0104 to your computer and use it in GitHub Desktop.
useful docker commands
# 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