remove all docker containers running code example
Example 1: docker remov all running containers
docker rm $(docker ps -aq)
Example 2: docker remove not running containers
docker container rm $(docker container ls –aq)
docker rm $(docker ps -aq)
docker container rm $(docker container ls –aq)