The things that make containers so revolutionary is because they are isolated, lightweight, secure and they also make them very impractical to monitor - they are basically black boxes. At a high level, you have two options:
Monitor from inside the container.
Monitor from outside the container.
I would suggest you take up the following Docker training Course to learn more about it. Here is a video tutorial which you can also watch to learn more about Docker. .