1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 08:22:08 +02:00

adds commands for working with images

This commit is contained in:
Alex Flores 2015-12-28 23:25:31 -05:00
parent 235c7f1879
commit 3d7f9aebfa

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}}`