Learning – Docker Prune

Learning - Docker Prune

Container

docker container prune
docker stop $(docker ps -q)
docker container ls -a
docker container prune -f
docker --rm ...
docker swarm

Image

docker image ls
docker image prune -f

Network

docker network ls
docker network prune -f

Volume

docker volume ls
docker volume prune -f

System

docker system prune
docker system prune --volumes
docker system prune --volumes --all
docker system prune --volumes --help

References

Docker prune explained - usage and examples

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>


The reCAPTCHA verification period has expired. Please reload the page.