delete stopped containers code example
Example 1: docker remove all containers
docker rm $(docker ps -a -q)
Example 2: docker force remove container
docker rm -f [containerid]
Example 3: how to delete docker containers
docker system prune -a
Example 4: docker remove container
docker system prune