remove image on disk docker code example
Example 1: windows delete all docker images
$ docker system prune --all
Example 2: delete all containers created x hours ago
# Delete all stopped containers
docker container prune
$ docker system prune --all
# Delete all stopped containers
docker container prune