mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-14 07:59:34 +00:00
Update cheatsheets
This commit is contained in:
@@ -10,23 +10,23 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- List currently running Docker containers:
|
||||
|
||||
`docker container ls`
|
||||
`docker {{[ps|container ls]}}`
|
||||
|
||||
- Start one or more stopped containers:
|
||||
|
||||
`docker container start {{container1_name}} {{container2_name}}`
|
||||
`docker {{[start|container start]}} {{container1_name}} {{container2_name}}`
|
||||
|
||||
- Kill one or more running containers:
|
||||
|
||||
`docker container kill {{container_name}}`
|
||||
`docker {{[kill|container kill]}} {{container_name}}`
|
||||
|
||||
- Stop one or more running containers:
|
||||
|
||||
`docker container stop {{container_name}}`
|
||||
`docker {{[stop|container stop]}} {{container_name}}`
|
||||
|
||||
- Pause all processes within one or more containers:
|
||||
|
||||
`docker container pause {{container_name}}`
|
||||
`docker {{[pause|container pause]}} {{container_name}}`
|
||||
|
||||
- Display detailed information on one or more containers:
|
||||
|
||||
@@ -34,8 +34,8 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Export a container's filesystem as a tar archive:
|
||||
|
||||
`docker container export {{container_name}}`
|
||||
`docker {{[export|container export]}} {{container_name}}`
|
||||
|
||||
- Create a new image from a container's changes:
|
||||
|
||||
`docker container commit {{container_name}}`
|
||||
`docker {{[commit|container commit]}} {{container_name}}`
|
||||
|
||||
Reference in New Issue
Block a user