How to stop and remove all docker images and containers

Docker is a great tool, but sometimes it can consume a lot of disk space. docker-clean is a simple bash script you can use to remove all docker images and containers with one command:

To stop and remove all Docker containers:

To remove all Docker images:

Leave a Reply

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