gyto6 Posted November 20, 2022 Share Posted November 20, 2022 Hi everyone, I've some trouble with one container. I need to pass a variable in it, but this same variable is already set in the docker-compose.yml container's file, so I have to edit the variable at the source. The problem is that I'm using the Docker vDisk file, and due to all these docker layers, I'd like to know what could be the best way to edit this file. I'm not experienced enough with docker, and maybe that using vDisk might lead me to a dead end, but i've still a lot of interess to any explanation. Thank you! Quote Link to comment
Solution Kilrah Posted November 20, 2022 Solution Share Posted November 20, 2022 (edited) Just now, gyto6 said: I've some trouble with one container. I need to pass a variable in it, but this same variable is already set in the docker-compose.yml container's file, so I have to edit the variable at the source. Probably need more detail but any variable should be set in the docker-compose file, no point trying to set it somewhere else as it would be overridden anyway. Docker image is unrelated. Edited November 20, 2022 by Kilrah Quote Link to comment
gyto6 Posted November 20, 2022 Author Share Posted November 20, 2022 2 minutes ago, Kilrah said: Probably need more detail but any variable should be set in the docker-compose file, no point trying to set it somewhere else as it would be overridden anyway. Docker image is unrelated. Well, I agree with you. I'll get in touch with the container developper to get a clue on why I can't get the variable as usual on Unraid. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.