docker remove dangling címges code example
Example 1: how to delete dangling docker images
sudo docker rmi $(sudo docker images -f "dangling=true" -q)
Example 2: how to delete dangling docker images
sudo sh -c 'docker rmi $(docker images -f "dangling=true" -q)'
Example 3: docker remove dangling images
docker image prune