muffel
muffel

Reputation: 7370

Prune container images with just containerd (w/o Docker)

If I had just containerd installed on a Linux system (i.e. Docker is not installed), how do I remove unused container images to save disk space?

Docker has that handy docker system prune command, but I can't find anything similar with ctr or 3rd party tooling.

Upvotes: 16

Views: 23018

Answers (1)

Volodymyr Kolesnykov
Volodymyr Kolesnykov

Reputation: 327

This is probably what you want:

crictl rmi --prune

Upvotes: 31

Related Questions