Docker: How to save disk space
Published: Mon, Jun 23, 2025
Today, Vincent explains how to clear out old Docker images from your Linux system.
Links:
Video Notes
Docker stores images, which are the basis of containers. When we update our system, it’s generally safe to remove unused images. Below is the command to remove all old images. Please note that this command uses the -f flag, which forces removal without prompting for confirmation.
sudo docker system prune -a -f