adds commands for working with images
This commit is contained in:
@@ -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}}`
|
||||||
|
Reference in New Issue
Block a user