docker rm commands code example
Example 1: remove all images docker
docker rmi $(docker images -a -q)
Example 2: docker purge all
docker system prune [OPTIONS]
docker rmi $(docker images -a -q)
docker system prune [OPTIONS]