docker remove container volume code example
Example 1: remove docker volume
docker-compose down
docker rm -f $(docker ps -a -q)
docker volume rm $(docker volume ls -q)
docker-compose up -d
Example 2: docker force remove container
docker rm -f [containerid]
Example 3: how to remove a docker container
docker container rm [container id]