Skip to content

Instantly share code, notes, and snippets.

@hugopereira84
Created July 10, 2017 11:40
Show Gist options
  • Save hugopereira84/806d47a3bd95b8e764b9dcc35daf6462 to your computer and use it in GitHub Desktop.
Save hugopereira84/806d47a3bd95b8e764b9dcc35daf6462 to your computer and use it in GitHub Desktop.
Docker - Enter Running Container with new TTY
To show only running containers use:
$ docker ps
h docker 1.3, there is a new command docker exec.
This allows you to enter a running docker:
$ docker exec -it [container-id] bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment