remove running docker container code example
Example 1: remove all containers docker
docker rm $(docker ps -aq)
Example 2: delete docker containers
docker container rm [container id]
docker rm $(docker ps -aq)
docker container rm [container id]