-2

This is the first time I'm using docker, basically trying to install a project into the webserver. As per installation instructions, I did docker image pull XXXX.io/main-repo/control-center:v4. The pull is successful. Second step mentions that "Configure the environment variables as described in the CONFIGURE.MD". Now the problem is, I cannot find image or where things are downloaded. The repo has a wiki page which shows all the environment variables that needs to be configured but I don't even know where the files are considering the /var/lib/docker does not exists.

When I do docker info I get overlay2 as the storage driver. This is on a ubuntu system. Since I never used docker, I feel like I'm missing some key things.

cptalpdeniz
  • 368
  • 1
  • 11
  • 2
    Docker manages all images for you, there is no need to know where and how they are stored. Take a tutorial and read the documentation concerning `docker run`, there are multiple different ways to set environment variables. Maybe even more implemented by the image itself. – Ulrich Eckhardt Aug 21 '23 at 06:35
  • 1
    Does this answer your question? [How do I pass environment variables to Docker containers?](https://stackoverflow.com/questions/30494050/how-do-i-pass-environment-variables-to-docker-containers) – Rick Rackow Aug 21 '23 at 07:32
  • You should almost never be poking around directly in `/var/lib/docker`, even if it does exist (on a native-Linux host). The container files will exist there, but not in a way that's easy to find or consume. – David Maze Aug 21 '23 at 10:45

0 Answers0