mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 00:42:08 +02:00
adds commands for working with images
This commit is contained in:
parent
235c7f1879
commit
3d7f9aebfa
1 changed files with 8 additions and 0 deletions
|
@ -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}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue