Where are Docker images stored?

QuestionsQuestions8 SkillsProYour First Docker LabOct, 01 2025
0217

Docker images are stored in a specific directory managed by Docker, which varies depending on the operating system:

  • Linux: Docker images are typically stored in /var/lib/docker. Within this directory, images are organized in a specific structure depending on the storage driver being used (like overlay2, aufs, etc.).

  • Windows: On Windows, Docker images are stored in a virtual machine that runs Docker. The images are located in a directory under C:\ProgramData\Docker.

  • macOS: Similar to Windows, Docker images are stored in a virtual machine. The images can be found in ~/Library/Containers/com.docker.docker/Data/vms/0/.

Keep in mind that these paths may vary based on your Docker configuration and the storage driver in use.

0 Comments

no data
Be the first to share your comment!