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

Add hint about current docker context if not default #538

Open
joihn opened this issue May 30, 2024 · 3 comments
Open

Add hint about current docker context if not default #538

joihn opened this issue May 30, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@joihn
Copy link

joihn commented May 30, 2024

The recent addition of support for docker context is very nice :)
It could be a nice reminder for the user to add the name of the current docker context somewhere in the UI.
(if you don't want to add clunkyness, it could only be shown when this one is not default)

the information can be accessed via bash:
docker context show

@joihn joihn added the enhancement New feature or request label May 30, 2024
@joihn joihn changed the title Add hint about which context is one if not default Add hint about current docker context if not default May 30, 2024
@peauc
Copy link

peauc commented Jun 7, 2024

Do you have a suggestion about where it should appear ?
I'm imagining a label & a menu to maybe change said context

@peauc
Copy link

peauc commented Jun 17, 2024

Changing context may a bit more than straight forward. Because we'd need to restard all lazydocker internals and "reboot" the app and connect to a new docker engine.
The hint can surely be done though

@vlcinsky
Copy link

Regarding where should be the name of the context shown: the Project sections seems good fit to me.
Either:

  • as a prefix
  • or as "@contextName" suffix
  • or as another line (probably very first one) stating "Context: contextName"

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

3 participants