Where Are Docker Images Stored on the Host Machine?

Better Stack Team
Updated on August 1, 2022

If you want to have a quick look at where is Docker storing your Docker images, you can use the docker info command:

docker info
Copied!
Output:
...
 Storage Driver: <driver-name>
 Docker Root Dir: /var/lib/docker
...
Copied!

Among other information, it will display the storage drive on which the images are stored and the actual directory on the drive, where you can find those images.

The storage location of Docker images and containers

The storage location depends on the operating system you are using Docker on. Here is a list of the storage locations of the docker images on different operating systems:

  • Ubuntu: /var/lib/docker/
  • Fedora: /var/lib/docker/
  • Debian: /var/lib/docker/
  • Windows: C:\ProgramData\DockerDesktop
  • MacOS: ~/Library/Containers/com.docker.docker/Data/vms/0/
Got an article suggestion? Let us know
Explore more
Licensed under CC-BY-NC-SA

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

We are hiring.

Software is our way of making the world a tiny bit better. We build tools for the makers of tomorrow.

Explore all positions →

Reliability is the
ultimate feature

Delightful observability tools that turn your logs & monitoring into a secret weapon for shipping better software faster.

Explore Better Stack