1
0
Fork 0
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:
Managor 2025-02-08 16:01:33 +02:00 committed by GitHub
parent 5170c81065
commit 1ff3c74910
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions

View file

@ -19,3 +19,7 @@
- Show the history of a local Docker image:
`docker image history {{image}}`
- View documentation for `docker image rm`:
`tldr docker rmi`

View file

@ -28,9 +28,9 @@
`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: