Created
June 4, 2020 10:48
-
-
Save hmajid2301/cfc641381a6e72794247973d5c49444f to your computer and use it in GitHub Desktop.
This how you can view traffic using WireShark in a Docker container. What we want to do is find the interface name on the host machine so WireShark can listen for traffic on that interface. Open Wireshark then in the example below look for the interf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker exec -it <container_name> cat /sys/class/net/eth0/iflink | |
# 8 | |
ip link | grep 8 | |
# 8: veth0561247@if7: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-6726433a4ff3 state UP mode DEFAULT group default |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment