lazydocker icon indicating copy to clipboard operation
lazydocker copied to clipboard

Add hint about current docker context if not default

Open joihn opened this issue 1 year ago • 3 comments

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 avatar May 30 '24 13:05 joihn

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

peauc avatar Jun 07 '24 17:06 peauc

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

peauc avatar Jun 17 '24 20:06 peauc

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"

vlcinsky avatar Jul 13 '24 08:07 vlcinsky