Get in touch

Send an email to: lammers@gmail.com.
Or find me online at: Github, X

Remove dangling Docker images

Dangling images in Docker are images without tag attached to them. This happens for example after building a new version of an image with the same tag.

To list these images run:

docker images -f "dangling=true"

Run the following command to remove all dangling images:

docker image prune

The -a flag can be added to also delete unused images:

docker image prune -a