Remove all dangling volumes:
docker volume rm $(docker volume ls -qf dangling=true)
docker image prune -a (This will remove all the unused images)
sudo docker ps -aq --no-trunc -f status=exited | xargs sudo docker rm
docker rm $(docker ps --all -q -f status=dead)
$ docker system df #will show used space, similar to the unix tool df $ docker system prune # will remove all unused data.
Stopping and Removing Containers
Archives
Categories
Recent Posts
Stopping and Removing Containers
29 May 2019Installing Amazon CLI and Terraform on Windows desktop
27 May 2019Convert DOS to UNIX and vice versa
25 May 2019Calendar