how to destroy docker container code example
Example 1: docker remove all containers
docker rm $(docker ps -a -q)
Example 2: delete docker containers
docker container rm [container id]
Example 3: remove unused images docker manually
$ docker rmi $(docker images -q -f dangling=true)