How will you monitor Docker in production?

0

Docker provides tools like docker stats and docker events to monitor Docker in production.
We can get reports on important statistics with these commands.

Dockerstats: When we call docker stats with a container id, we get the CPU, and memory usage of of a container. It is similar to top command in Linux.

Dockerevents: Docker events are a command to see the stream of activities that are going on inDocker daemon.
Some of the common Docker events are: attach, commit, die, detach, rename, destroy etc.

We can also uses various options to limit or filter the events that we are interested in.

Devops docker
asked Apr 30, 2023 at 23:06
Sign in to add a comment

0 Answers

0
📝 No answers yet!

Be the first to answer this interview question.

Your Answer

Sign in to post your answer and help the community.