Table of contents
1. View the image
docker images
2. First list all images with the label "none" to ensure that you want to delete the correct image:
docker images --filter "dangling=true"
3. Then use the following command to delete all images with the label "none":
docker rmi $(docker images -f "dangling=true" -q)
请注意,删除镜像是不可逆的操作,请谨慎使用。