-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Feature request: show container names #40
Comments
Sounds like a reasonable request. Given that there if often not much horizontal space, I'm inclined to make this a user configurable thing that defaults to false. Something like:
What are your thoughts on that approach? As for implementation, It would be fairly trivial to write the code, it would just be a matter of changing the GetDisplayStrings() function in |
Nice to hear :) My thoughts is, make it default:
And if someone dont want the container name then they can set it to
And when you click on this service it will show a header on the left windows where |
My $0.02: I don't really want or need to see the container name in the sidebar (in the header of the main panel would be great though!) unless the service has a dynamic container_name. Knowing what directory lazydocker is running in would be more useful. My primary use case is in development, where I run a few distinct projects that share service names. My services have static container names to make linking them together easier, and I'm never running a service as more than a single instance. If/when I cannot supply a container name (e.g. swarms), I'd still like to see the service listed, along with the specific containers. |
@pvande how about instead of having As for dynamic container names, I wonder how easy it is to see if a container name is dynamic. @mudasar187 I'm hesitant to use the ellipsis approach because it seems to me that people either want to know what the container name is or not, and if they have no way to expand the width of the side panels, they can't really access that information. This makes me think we should probably support having a short and long sidepanel view for when you want everything you need in tabular form, but that's a separate issue. If we could find a way to check if a container name was dynamic, and if so, show it in brackets, would that satisfy both your use cases? |
@jesseduffield Yeah, i think thats a better suggestion :) |
@jesseduffield I would have suggested putting it in that status panel, but I didn't want to suggest losing the branding! As for dynamic container names, I'm more or less working from the definition "the docker-compose service does not specify a |
Given that Container names may be long, and Services may have multiple containers associated with them, I'm increasingly inclined towards a UI like this: I would be curious to hear what other people think of this, and how other people would expect it to work. If there's enough interest in this approach, I may go ahead and try to move it forward myself... |
Happy to have a look into this over christmas break if that's ok |
Please, go ahead. |
Hi, is anyone working on it, otherwise I would like to pick this up |
@loopsFreitag It does seem container names are shown in the general case, but not all. In some cases, I see |
@loopsFreitag great, thanks! |
Hi, i'v tested out lazydocker today and i love it!
A feature to have is to have names on the containers where the
Services
window is.I have a
docker-compose.yml
file:In
Services
window, there is to running containers.It should be:
Love this tool!
The text was updated successfully, but these errors were encountered: