29 May 2019 Comments Off

Stopped containers still exist until you explicitly remove them. $ docker kill$ docker rmRemove all dangling volumes:docker volume rm $(docker volume ls -qf dangling=true)Remove all unused images: (The one with tag)sudo docker rmi $(sudo docker images