docker find all dangling images code example
Example 1: docker delete all images
docker system prune
Example 2: docker remove all containers and images
docker container stop $(docker container ls -aq)
docker system prune
docker container stop $(docker container ls -aq)