There are times where i need to clean all unused, dangling docker images on my laptop. Previously im running below command,
docker image prune -a
But it seems like altho almost all images are gone, i can see still some images are still occupying my laptop’s disk. So i have to do something to delete them.
The workaround is quite easy, run PowerShell as Administrator and run below command,
docker rmi $(docker images --quiet --filter "dangling=true") -f
And i can see that my harddisk is now have more free spaces 🙂