delete all container and images docker code example
Example 1: docker remov all running containers
docker rm $(docker ps -aq)
Example 2: delete container id
docker rm $(docker ps -a -q)
docker rm $(docker ps -aq)
docker rm $(docker ps -a -q)