How to edit docker-compose.yml inside docker vDisk


gyto6
Go to solution Solved by Kilrah,

Recommended Posts

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!

Link to comment
  • Solution
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 by Kilrah
Link to comment
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.

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.