Mutiple image getting create as part of Kind load command / Disk Space issue < docker.io/library/import-2022-11-30>
On ubuthu 20.X when running kind load. For each load it creates a proper image and a replicat image
Not able to delete these import images hence eathing up whole disk space
IMAGE TAG IMAGE ID SIZE
docker.io/kindest/kindnetd v20220510-4929dd75 6fb66cd78abfe 45.2MB
docker.io/kindest/local-path-provisioner v0.0.22-kind.0 4c1e997385b8f 17.4MB
k8s.gcr.io/kube-apiserver v1.24.0 9ef4b1de3be49 77.3MB
k8s.gcr.io/kube-controller-manager v1.24.0 efa8a439d1460 65.6MB
k8s.gcr.io/kube-proxy v1.24.0 6960c0e47829d 112MB
k8s.gcr.io/kube-scheduler v1.24.0 41f5241e3396e 52.3MB
docker.io/library/import-2022-11-30
Are you not able to delete this using their ID?
docker rmi dbf9ab8969141
Not able to delete using any of these
docker exec -it kind-control-plane crictl rmi --prune docker exec -it kind-control-plane crictl rmi fc85f3faa0c43 docker exec -it kind-control-plane crictl images -q | xargs -n 1 crictl rmi 2>/dev/null docker image rm fc85f3faa0c43
The issue is only with the extra images created after the kind load with following name "docker.io/library/import-2022-11-30"
All the other images get delected as expected
uname -a Linux ubuntu 5.15.0-46-generic #49~20.04.1-Ubuntu SMP Thu Aug 4 19:15:44 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Ubuthu installed in VMware workstation 15.5.7 build-17171714 Host OS :Windows 10, 64-bit (Build 19043.2251) 10.0.19043
kind version kind v0.14.0 go1.18.2 linux/amd64
It's possible this is a multi arch image and also there's the digest image. I wouldn't use crictl for more than a quick debug, ctr will be more useful.
I'm also encountered this, is there any way to remove the imported images?