volume deletes with container code example
Example 1: remove all containers docker
docker rmi $(docker images -q)
Example 2: how to remove a docker container
docker container rm [container id]
docker rmi $(docker images -q)
docker container rm [container id]