Skip to content

Allow relative bind mount directories #52

@tobad357

Description

@tobad357

When doing testing it would be very useful to have docker-client changing relative bind mount paths to absolute paths as docker only allows absolute paths while people using docker-client may be running it from different project dirs

My suggestion would be that when using loadCompose and option could be to convert the relative volume paths to absolute ones based on the work dir

Example when workdir is /path/to/project/root

    volumes:
      - "./build/data:/data" 

becomes

    volumes:
      - "/path/to/project/root/./build/data:/data" 

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions