Last active
January 6, 2016 21:34
-
-
Save mrpatrick/aef46c35e79cd886cb50 to your computer and use it in GitHub Desktop.
enter a container with exec
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
# where the container is 0f4fe0b1f413 | |
docker exec -i -t 0f4fe0b1f413 bash | |
# or for an apache instance | |
docker exec -ti projectname_projectname_1 /bin/bash | |
# or for example mysql | |
docker exec -ti projectname_db_1 /bin/bash | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment