how do i force delete dangling images in docker code example
Example 1: how to delete dangling docker images
sudo docker rmi $(sudo docker images -f "dangling=true" -q)
Example 2: docker remove dangling images
docker image prune
sudo docker rmi $(sudo docker images -f "dangling=true" -q)
docker image prune