Where Does Docker Store Images on Arch Linux?

March 24, 2026 3 answers
Asked by CuriousCat99
I've recently started learning about Docker and I'm having trouble locating where it stores images on my hard drive. The documentation mentions that the default location is /var/lib/docker/overlay2 (or just overlay), but I can't find that folder in /var/lib/docker. After reinstalling Docker and deleting the /var/lib/docker folder, it still recognizes my old images, so I think they must be stored somewhere else. Any insights?

Answers

TechieTurtle84
Which method did you use to install Docker? Also, could you share the content of your daemon.json configuration file? I heard it can sometimes affect where Docker stores its data.

CuriousCat99: I just used "pacman -S docker", added myself to the docker group, and enabled docker.service. Thereโ€™s now a daemon.json file in /etc/docker, but I donโ€™t think it created any defaults.

Reply to this answer
DockerDude22
Just a heads up, Docker now defaults to using containerd for image storage, so you might want to check in /var/lib/containerd for your images.
Reply to this answer
VolumeWhisperer
You can also run `docker volume inspect`. It will show you the location for any volumes, which might help you track down your images.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions