docker delete running container code example
Example 1: docker remove all containers
docker rm $(docker ps -a -q)
Example 2: docker force remove container
docker rm -f [containerid]
docker rm $(docker ps -a -q)
docker rm -f [containerid]