How to use host’s pcap in docker container?

I want to capture a specific network of hosts from docker container.

host <-> host //
How do I capture a specific port of tcp that communicates with the host?

I want to know how to set it in the container.

Source: StackOverflow