Find performance of Running Docker container
Hi All!
Nowdays, Most of the organizations prefer application containerization (micro services) rather than monolithic. So that, entire application need not be modified or get affected
Docker is one of the famous and widely used containerization tool
Docker has many commands to build a image, run the image as container and much more.
In this post, we are going to see about the performance like CPU usage of the running docker container.
By using docker stats {containerid/containername} we can find/get some informations as below.
we can pass containername instead of containerid in docker stats command.
Both of the below works
- Format: docker stats {containername} -> Ex: docker stats blobctr
- Format: docker stats {containerid} -> Ex: docker stats fb1aa6a9682154ce491
We'll refresh many more docker commands in upcoming posts.
Comments
Post a Comment