Skip to content

Instantly share code, notes, and snippets.

@oprietop
Last active February 16, 2022 14:47
Show Gist options
  • Save oprietop/413694e4b5dbb99c3ea5bb8b9d4f9e40 to your computer and use it in GitHub Desktop.
Save oprietop/413694e4b5dbb99c3ea5bb8b9d4f9e40 to your computer and use it in GitHub Desktop.
run tcdump on a docker container

Replace 6dc76f8e2cb1 with target container to sniff

docker run -it --rm --net container:6dc76f8e2cb1 nicolaka/netshoot tcpdump -s0 -qA
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment