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
Published
Categorized as Docker

Leave a comment

Your email address will not be published. Required fields are marked *

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