tshark does not filter packets inside docker container
We have a situation where tshark command runs fine and filters a pcap file. But the same command fails to run within the docker container running in kubernetes.
Here is the command in question.
tshark -n -r input.pcap -w output.pcap -Y "diameter.Bearer-Identifier == 05"
Details CentOS Linux release 7.5.1804 (Core) tcpdump version 4.9.2 libpcap version 1.5.3 OpenSSL 1.0.2k-fips 26 Jan 2017 TShark 1.10.14 (Git Rev Unknown from unknown)
Please respond if any one has faced similar situation.