Answers for "docker delete image and all containers"

1

docker remove all containers and images

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

docker remove all containers and images

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

delete all container and images docker

docker rmi $(docker images -q)
Posted by: Guest on September-16-2021

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

Browse Popular Code Answers by Language