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.