jesseduffield/lazydocker

Inquiry about Memory Usage in LazyDocker

Opened this issue · 1 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

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.