Sign inSign up

bobrik/image-cleaner

By bobrik

•Updated over 10 years ago

Image
5

500K+

bobrik/image-cleaner repository overview

⁠Docker image cleaner

The long missing command to clean up all docker images that are not used by any container.

⁠Usage

This command is available as docker image bobrik/image-cleaner:

docker run --rm -v /var/run/docker.sock:/var/run/docker.sock bobrik/image-cleaner

Add -dry-run to the end if you want to see what is going to be deleted.

If you want to keep some images, use -exclude image:tag[,image:tag] flag.

Tag summary

Content type

Image

Digest

sha256:e27ce32dd…

Size

4.7 MB

Last updated

over 10 years ago

docker pull bobrik/image-cleaner