Skip to content

cli/command/container: remove dependency on cli/compose/loader.ParseVolume #6188

@thaJeztah

Description

@thaJeztah

Description

Commit 732261f rewrote parsing of the --mount flag to use the compose "loader" code;

As an effect, users of the cli that import the container package also get all of "compose" (stack) as a dependency. We should split the volume / mount parsing logic to a separate package if possible.

I noticed this while looking what parts of docker/cli were used by compose.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions