Skip to content

Command line --project-directory missing #1358

@ydebilloez

Description

@ydebilloez

Currently, when running a compose file in a sub-folder, it takes that folder as a basis for all subsequent elements.

Imagine parent with .yaml file in sub-folder and invocating using podman compose --file=sub/myproject.yaml
If any folder registered in volume in the form of ../anothersub, path substitution is converting this to sub/sub/anothersub which is clearly an error.

Being able to specify --project-directory parent would avoid related issues and enhance docker compatibility.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions