Skip to content

Instantly share code, notes, and snippets.

@dwilkie
Last active January 24, 2024 13:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dwilkie/88adc35e1a2c81d37b1cb8a263356b99 to your computer and use it in GitHub Desktop.
Save dwilkie/88adc35e1a2c81d37b1cb8a263356b99 to your computer and use it in GitHub Desktop.
Docker tcpdump
sudo docker run -it --rm --net container:59da80a76475 nicolaka/netshoot # Replace 59da80a76475 with the running container ID
tcpdump -Xvv -i eth0 -s0 -w capture.pcap
curl -F "file=@capture.pcap" https://file.io
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment