lazydocker
lazydocker copied to clipboard
Add hint about current docker context if not default
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
Do you have a suggestion about where it should appear ? I'm imagining a label & a menu to maybe change said context
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
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"