stop remove all docker containers code example
Example 1: docker remov all running containers
docker rm $(docker ps -aq)
Example 2: how to remove a docker container
docker container rm [container id]
docker rm $(docker ps -aq)
docker container rm [container id]