remove all containers and imager docker code example
Example 1: docker remove all containers
docker rm $(docker ps -a -q)
Example 2: docker delete all images
docker system prune
docker rm $(docker ps -a -q)
docker system prune