What if you wanted to see the evolution of the resources over time? Or see how much CPU and memory a Docker Compose project is using? Or sort containers by the most CPU-intensive, then filter by CPU usage over 80%? Just drop $ docker stats in your CLI and you’ll get a read out of the CPU, memory, network, and disk usage for all your running containers.īut this command only gives you a current moment in time. Docker has a built-in stats command that makes it simple to see the amount of resources your containers are using.
0 Comments
Leave a Reply. |