Monitoring calls from containers to other containers

Hello all:

Is there anyway to monitor the calls that a Docker container makes to other docker containers. I know that in the path of the host /sys/fs/cgroup/blkio/docker/$CONTAINER_ID you have network stats about the container. I would like to extract something like

destination_container time type_of_request
container_1 epoch1 TCP
container_2 epoch2 UDP

In short, how the containers interact between each other. I don’t mind having to install a third party tool.

You can checkout sysdig.

They provide all needed debug capabilities for containers.

Thanks!. sysdig seems to solve the problem. I also wanted to know if there are any other possibilities to check this besides third party tools, e.g. command line or linux tool that allows to check this info.

why not just use ngrep ?