Skip to content

Docker Useful Commands

jatkowskee edited this page Mar 22, 2017 · 2 revisions

List running containers:

$ docker ps

Attach to a running container:

$ docker attach <CONTAINER>

Run a command inside container:

$ docker exec -it <CONTAINER> <COMMAND>
Clone this wiki locally