You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 07-cloud/03-docker/01-docker-commands/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,8 +83,8 @@ docker container prune
83
83
Docker run `pull`s images automatically if it hasn't them. Let's remove an existing image:
84
84
85
85
```bash
86
-
docker image rm <IMAGE ID>
87
-
docker rmi <IMAGE ID>
86
+
docker image rm <IMAGE NAME>:<TAG>
87
+
docker rmi <IMAGE NAME>:<TAG>
88
88
docker image prune
89
89
```
90
90
> `prune`: Remove all dangling images, that is, all images with name equals <none>. Dangling images are not referenced by other images and are safe to delete
0 commit comments