Skip to content

relative path not supported #713

Open
@foegra

Description

@foegra

⚠️ Please verify that this bug has NOT been reported before.

  • I checked and didn't find similar issue

🛡️ Security Policy

Description

No response

👟 Reproduction steps

use local path for file volume mount that would look like this:
./path/to/local/file.conf:/remote/mount

👀 Expected behavior

success (it actually works with regular docker compose up )

😓 Actual Behavior

Cannot start stack. Error in log output

Dockge Version

1.4.2

💻 Operating System and Arch

ubuntu 24.10

🌐 Browser

Firefox 134

🐋 Docker Version

27.5.0

🟩 NodeJS Version

No response

📝 Relevant log output

Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/opt/stacks/appflowy-cloud/nginx/nginx.conf" to rootfs at "/etc/nginx/nginx.conf": create mountpoint for /etc/nginx/nginx.conf mount: cannot create subdirectories in "/var/lib/docker/overlay2/4c4bec227f67450fb2e4ecb15198a7bc45dbc105adfd98382f6f32d589457a99/merged/etc/nginx/nginx.conf": not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions