Skip to content

Instantly share code, notes, and snippets.

@leafnode
Created July 11, 2019 13:35
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 leafnode/f4a7e063ad0e5dd7b294b29647bf4bf4 to your computer and use it in GitHub Desktop.
Save leafnode/f4a7e063ad0e5dd7b294b29647bf4bf4 to your computer and use it in GitHub Desktop.
Dump network traffic from a docker container #docker
#!/bin/sh
# replace $container
docker run -t --net container:$container bretfisher/netshoot ngrep -d eth0 -x -q
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment