Docker Desktop is a tool for managing Docker containers and images. It provides a visual interface for monitoring the Docker images installed on your computer and the containers currently running.
Docker images typically occupy between 3 - 5 GB of memory. Therefore, it's advisable to periodically review and remove any unnecessary images. To do this, first check if any container is using the image. If so, stop and remove it by clicking on the bin symbol.
Next, navigate to Images and remove any images that are no longer needed.
To display all the container images currently occupying space on your computer, use:
sudo docker images
To remove all unused images, use:
sudo docker image prune -a
To remove all unused containers, networks, and images, use:
sudo docker system prune -a
You can pause, restart, or close Docker by clicking on the Docker shortcut symbol: