When we use docker we end up running a lot of containers and creating a lot of images
The commands for deleting the containers and images are
#docker stop all containers
docker stop $(docker ps -a -q)
#docker remove all containers
docker rm $(docker ps -a -q)
#docker remove all images
docker rmi $(docker images -q)
The commands for deleting the containers and images are
#docker stop all containers
docker stop $(docker ps -a -q)
#docker remove all containers
docker rm $(docker ps -a -q)
#docker remove all images
docker rmi $(docker images -q)