One Liner Delete Unused Docker Images

In this blog post, I will show you a one-liner Docker command that will delete unused images.

Docker call unused images dangling images.

In our case dangling images, are images that we are not using in our image layers.

Delete Unused Images

To delete dangling images I will use the following command.

Docker images prune -f

Processing…
Success! You're on the list.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.