Answers for "docker delete all images and all containers"

25

docker delete all images

docker rmi -f $(docker images -a -q)
Posted by: Guest on April-25-2020
0

docker remove all containers and images

docker container stop $(docker container ls -aq)
Posted by: Guest on September-04-2020

Code answers related to "docker delete all images and all containers"

Browse Popular Code Answers by Language