Monitor docker containers with mitmproxy docker container?

How to monitor docker container system with mitmproxy docker container? Is it possible (any tutorial or guidance where to begin)?

I have manage to do it with virtualbox (combining tutorials in the web), but now I want to transfer the system to docker