Linux - ContainersThis forum is for the discussion of all topics relating to Linux containers. Docker, LXC, LXD, runC, containerd, CoreOS, Kubernetes, Mesos, rkt, and all other Linux container platforms are welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hello, I'm starting with docker containers and I managed to get an application, the problem I have is that I have to access a file that is in /var/APP/secrets/initialadminpassword but that path does not exist, I want to know how I find out the paths to the files of the container
hello, I'm starting with docker containers and I managed to get an application, the problem I have is that I have to access a file that is in /var/APP/secrets/initialadminpassword but that path does not exist, I want to know how I find out the paths to the files of the container
If I searched and after searching a lot I asked here, but in the link you send me it still doesn't help me, I can't find where the application configuration files are
If I searched and after searching a lot I asked here, but in the link you send me it still doesn't help me, I can't find where the application configuration files are
Then there is nothing we can help you with. You were handed a link that explicitly tells you how to mount the Docker container...from there, go INTO that mount point. And again, you only say "can't find where"...but don't tell us exactly what you did, what the results were, how you looked, etc. We still cannot guess.
If the link that had to be looked up for you didn't help, then you probably should either:
Look up things for yourself.
Post a a clear question with details about what typed in, etc., so someone can help from there.
As it is, it appears you did no research of your own, and somehow expect folks here to be able to tell you exactly what to do, when we have no details. Did you actually read that entire page, or just look at the top?? Might want to read the part that starts with: "Normally, you can't find your container's files on your hard drive. If you want to browse the files, you need a shell inside the container:", and has other info there.
Container technologies commonly use "user-mounted file systems" in which the data is actually stored in large physical files which have a filesystem-like internal structure. This is not the only way to do it, but it is a common way, partly so the host's own filesystem does not get too messy. You have to go into the container environment to see the "files." (Well, there are "host-side utilities" ...)
You need to provide exact details in order to get a meaningful answer, as there are too many possibilities for anyone to "speculate" as to what your situation is.
Last edited by sundialsvcs; 11-01-2022 at 09:35 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.