Where Does Docker Store Images on Arch Linux?

0
10
Asked By CuriousCat99 On

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?

3 Answers

Answered By VolumeWhisperer On

You can also run `docker volume inspect`. It will show you the location for any volumes, which might help you track down your images.

Answered By DockerDude22 On

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.

Answered By TechieTurtle84 On

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.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.