Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 1.51 KB

DOCKER_DESKTOP.md

File metadata and controls

40 lines (25 loc) · 1.51 KB

Docker Desktop Overview

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.

Cleaning Docker Containers and Images

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.

Docker desktop container

Next, navigate to Images and remove any images that are no longer needed.

Docker desktop images

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

Managing Docker

You can pause, restart, or close Docker by clicking on the Docker shortcut symbol: Docker desktop images