Skip to content

Commit

Permalink
Merge pull request #445 from audibleblink/add_to_docker
Browse files Browse the repository at this point in the history
adds commands for working with images in docker
  • Loading branch information
leostera committed Jan 7, 2016
2 parents 464b67f + 3d7f9ae commit 1ad1639
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pages/common/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,11 @@
- Stop a container

`docker stop {{container}}`

- Start a container from an image and get a shell inside of it

`docker run -it {{image}} bash`

- Run a command inside of an already running container

`docker exec {{container}} {{command}}`

0 comments on commit 1ad1639

Please sign in to comment.