Merge pull request #445 from audibleblink/add_to_docker

adds commands for working with images in docker
waldyrious/alt-syntax
Leandro Ostera 2016-01-07 15:33:15 +01:00
commit 1ad1639427
1 changed files with 8 additions and 0 deletions

View File

@ -18,3 +18,11 @@
- Stop a container - Stop a container
`docker stop {{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}}`