You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently have several ways to get the CPU and memory consumption for containers. We have docker stats that tells the resource usage per container. There is the docker compose stats that tells the resource usage in a particular project but there is no real way to get the resource usage per composer project. I also don't know what the command should be called but it would show a list of compose projects similar to docker compose ls but then show the same metrics as docker stats and docker compose stats but then aggregated per project.
The text was updated successfully, but these errors were encountered:
Hello @feyst
Using the -p flag to specify the project name like docker compose -p your-project stats should do the job, no?
Or do you what to display all resources consumption for all projects at once?
Hello @feyst Using the -p flag to specify the project name like docker compose -p your-project stats should do the job, no? Or do you what to display all resources consumption for all projects at once?
Thanks for your quick reply.
The -p allows you to see the stats of a single project and not aggregated. I would like to see the stats of all projects but aggregated by project. For example If I had 2 projects with 3 containers each I would get 2 lines, one for each project stating the resources that project uses combined over all containers.
Description
We currently have several ways to get the CPU and memory consumption for containers. We have
docker stats
that tells the resource usage per container. There is thedocker compose stats
that tells the resource usage in a particular project but there is no real way to get the resource usage per composer project. I also don't know what the command should be called but it would show a list of compose projects similar todocker compose ls
but then show the same metrics asdocker stats
anddocker compose stats
but then aggregated per project.The text was updated successfully, but these errors were encountered: