Til

Docker deep clean with one command

Currently I’ve had to rebuild our development environment many times, and a lot of containers, images, volumes, and networks keep taking up disk space. I wanted an easy way to remove all the extra stuff with one command.

docker system prune -a --volumes -f

What it does

Use with extreme caution

This command is destructive. It will permanently delete:

Once removed, they cannot be recovered. If you have important data in a volume, make sure to back it up first.

View original

#cleanup #dev-tools #docker #performance