Where Are Docker Images Stored on the Host Machine?

Better Stack Team
Updated on October 5, 2023

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
 
Output:
...
 Storage Driver: <driver-name>
 Docker Root Dir: /var/lib/docker
...

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/

Make your mark

Join the writer's program

Are you a developer and love writing and sharing your knowledge with the world? Join our guest writing program and get paid for writing amazing technical guides. We'll get them to the right readers that will appreciate them.

Write for us
Writer of the month
Marin Bezhanov
Marin is a software engineer and architect with a broad range of experience working...
Build on top of Better Stack

Write a script, app or project on top of Better Stack and share it with the world. Make a public repository and share it with us at our email.

community@betterstack.com

or submit a pull request and help us build better products for everyone.

See the full list of amazing projects on github