mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
docker: improve example, docker-image: add a pointer towards docker-rmi (#15709)
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
This commit is contained in:
parent
5170c81065
commit
1ff3c74910
2 changed files with 6 additions and 2 deletions
|
@ -19,3 +19,7 @@
|
||||||
- Show the history of a local Docker image:
|
- Show the history of a local Docker image:
|
||||||
|
|
||||||
`docker image history {{image}}`
|
`docker image history {{image}}`
|
||||||
|
|
||||||
|
- View documentation for `docker image rm`:
|
||||||
|
|
||||||
|
`tldr docker rmi`
|
||||||
|
|
|
@ -28,9 +28,9 @@
|
||||||
|
|
||||||
`docker exec -it {{container_name}} {{sh}}`
|
`docker exec -it {{container_name}} {{sh}}`
|
||||||
|
|
||||||
- Remove a stopped container:
|
- Remove stopped containers:
|
||||||
|
|
||||||
`docker rm {{container_name}}`
|
`docker rm {{container1 container2 ...}}`
|
||||||
|
|
||||||
- Fetch and follow the logs of a container:
|
- Fetch and follow the logs of a container:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue