Skip to content

Support passing docker compose project name as arg #626

Open
@MaaitaMohammad

Description

@MaaitaMohammad

Is your feature request related to a problem? Please describe.
Our main monorepo has a lot of compose files (over 20), for us to easily manage our stack when we use the docker compose command we don't pass all of our compose files to the docker compose command we use the -p flag with docker compose, docker compose -p (project name) will automatically include all of our compose files.

I imagine that adding a project flag -p to the lazydocker command would be very helpful for anyone who uses lazydocker.

I've read a little bit in the lazydocker source code I imagine that I might be able to create a PR to add this feature and the end result would look like this

lazydocker - The lazier way to manage everything docker
https://github.com/jesseduffield/lazydocker

  Flags:
       --version           Displays the program version string.
    -h --help              Displays help with available flag, subcommand, and positional value parameters.
    -c --config            Print the current default config
    -d --debug             a boolean
    -f --file              Specify alternate compose files
    -p --project-name      Specify docker compose project name

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions