Skip to content

Cleaning up: rm, rmi and prune

Select an icon to see what it is.

Step 3 of 6

Untagged images pile up

When you build or pull a new image with a tag that already exists, the tag moves to the new image. The old image stays in storage with no name, shown as <none>:<none>. These are dangling images, and nothing refers to them.

$ docker images -f dangling=true

docker images

web 1.0 <new image id>
<none> <none> <old image id> (dangling)