how to delete all containers at one time code example
Example 1: docker delete all images
docker system prune
Example 2: docker remove all containers and images
docker container rm $(docker container ls -aq)
docker system prune
docker container rm $(docker container ls -aq)