Answers for "docker delete all"

5

remove docker volume

docker-compose down
docker rm -f $(docker ps -a -q)
docker volume rm $(docker volume ls -q)
docker-compose up -d
Posted by: Guest on July-14-2020
7

remove stopped containers

$ docker rm $(docker ps -a -q)
Posted by: Guest on May-27-2020
3

docker remove all volume

docker volume rm $(docker volume ls -q)
Posted by: Guest on June-25-2020
1

docker remov all running containers

docker rm $(docker ps -aq)
Posted by: Guest on September-24-2020
5

docker remove container

docker system prune
Posted by: Guest on March-23-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language