You can use Docker API or Docker stats. Docker stats provides an overview of some metrics we need to collect to ensure the basic monitoring function of Docker containers. This API gives us an access to CPU usage, memory, networking information and disk utilization for a running Docker container.
There are other tools but personally, I'm most comfortable with this one.