Unable to find context directory when deploying via compose #277
Replies: 3 comments 4 replies
-
Dockge is a container too, anything outside the |
Beta Was this translation helpful? Give feedback.
-
To me that looks like a permissions thing. What user do ssh in with? If it's root then that might be the problem. |
Beta Was this translation helpful? Give feedback.
-
as @trythatagain says it could be a permissions error - make sure the userid you configured in h5ai (with the UID environment variable) has permission to write to /root/docker/h5ai/config But also, you're passing through a relative path to dockge with your ie But on the host the real directory is This is why it's very important to make sure your stacks directory is the same on the host and inside dockge and is why there is a big warning in the sample compose.yaml You really should change your Dockge compose file to have /root/docker:/root/docker and DOCKGE_STACKS_DIR=/root/docker |
Beta Was this translation helpful? Give feedback.
-
🛡️ Security Policy
Description
I am attempting to deploy a docker container from https://github.com/eko/pihole-exporter
Docker compose file
If i try to deploy via dockge it is unable to find the directories for context and dockerfile
However if i deploy via the OS command line i have no issues
👟 Reproduction steps
Deployed dcoker compose file with build and context parameters
👀 Expected behavior
Deploy contain and build custom image
😓 Actual Behavior
Fails to find context directory and will not bring up container
Dockge Version
1.2.0
💻 Operating System and Arch
Linux qnap 5.10.60-qnap #1 SMP Tue Sep 26 01:46:28 CST 2023 x86_64 GNU/Linux
🌐 Browser
N/A
🐋 Docker Version
Docker version 20.10.22-qnap7, build 57ed8b8
🟩 NodeJS Version
Unknown
📝 Relevant log output
Beta Was this translation helpful? Give feedback.
All reactions