Browse Source

docker: improve example, docker-image: add a pointer towards docker-rmi (#15709)

Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
Managor 1 month ago
parent
commit
1ff3c74910
2 changed files with 6 additions and 2 deletions
  1. 4 0
      pages/common/docker-image.md
  2. 2 2
      pages/common/docker.md

+ 4 - 0
pages/common/docker-image.md

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

+ 2 - 2
pages/common/docker.md

@@ -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: