For those that are using microk8s for production, you could be interested in a prune utility that would remove images unused by current containers (like docker system prune). The microk8s ctr utility do not provide such feature.
My experience is that images are quickly stacking and I am not sure any garbage collector is taking care of that.
If you need one, check GitHub - philippelt/microk8s_prune: Containerd prune utility to cleanup loaded but unused images. This utility is targeting microk8s release but can easily be adapted to any containerd installation.
If you are aware of alternative methods, all suggestions are welcomeā¦