lazydocker icon indicating copy to clipboard operation
lazydocker copied to clipboard

Inquiry about Memory Usage in LazyDocker

Open minhajul-im opened this issue 1 year ago • 2 comments

As a beginner user of LazyDocker, I'm interested in understanding how memory usage (RAM) is managed within the application. Specifically, I'd like to know:

How does LazyDocker handle memory allocation for Docker containers? Is there a way to determine the memory usage of individual containers within LazyDocker? Are there any recommended practices for monitoring and managing memory usage in LazyDocker?

I'm seeking guidance on these topics to better understand the resource management aspect of Docker containers when using LazyDocker. Any insights or explanations would be greatly appreciated, especially from more experienced users or maintainers of the LazyDocker project.

I'm new to Docker and LazyDocker, so any beginner-friendly explanations or tips would be helpful.

Thanks

minhajul-im avatar May 10 '24 17:05 minhajul-im

How does LazyDocker handle memory allocation for Docker containers?

It doesn't, lazydocker is just showing the information one would get from docker itself, it doesn't do anything else except bundle it in a text user interface.

Is there a way to determine the memory usage of individual containers within LazyDocker?

One thing you could do is select a container and press ] to go to the Stats tab where you can see the CPU and memory usages of said container.

Are there any recommended practices for monitoring and managing memory usage in LazyDocker?

About monitoring, the Stats window, but as for managing, lazydocker can't do something like that AFAIK, you can spawn a shell and kill processes within the container, but that's not really that lazydocker can take credit for.

mark2185 avatar May 10 '24 21:05 mark2185

It would be nice to see memory usage in MB instead of percentage in the Stats view. (optionally)

norbert-olah avatar May 16 '25 21:05 norbert-olah