Skip to content

Commit fa20603

Browse files
committed
update readme
1 parent 204c455 commit fa20603

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • 07-cloud/03-docker/01-docker-commands

07-cloud/03-docker/01-docker-commands/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ docker container prune
8383
Docker run `pull`s images automatically if it hasn't them. Let's remove an existing image:
8484

8585
```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>
8888
docker image prune
8989
```
9090
> `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

Comments
 (0)