Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support passing docker compose project name as arg #626

Open
MaaitaMohammad opened this issue Feb 5, 2025 · 0 comments
Open

Support passing docker compose project name as arg #626

MaaitaMohammad opened this issue Feb 5, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@MaaitaMohammad
Copy link

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
@MaaitaMohammad MaaitaMohammad added the enhancement New feature or request label Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant