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

17.2k views Asked by At

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.

1

There are 1 answers

0
Volodymyr Kolesnykov On

This is probably what you want:

crictl rmi --prune