Created
July 9, 2014 02:43
-
-
Save yuuichi-fujioka/176902ffb3bcd4b0b7fb to your computer and use it in GitHub Desktop.
login to docker container with nsinit
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
#!/bin/bash | |
# this requires super user | |
cd /var/lib/docker/execdriver/native/${container_id} | |
nsinit exec /bin/bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment