Skip to content

Instantly share code, notes, and snippets.

@mrpatrick
Last active January 6, 2016 21:34
Show Gist options
  • Save mrpatrick/aef46c35e79cd886cb50 to your computer and use it in GitHub Desktop.
Save mrpatrick/aef46c35e79cd886cb50 to your computer and use it in GitHub Desktop.
enter a container with exec
# 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