Answers for "remove docker images files"

25

docker delete all images

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

docker remove all images

docker rmi $(docker images -a -q)
Posted by: Guest on November-13-2020
2

docker delete all containers

sudo docker stop $(docker ps -a -q)
sudo docker rm $(docker ps -a -q)
Posted by: Guest on December-09-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language