Skip to content

Instantly share code, notes, and snippets.

@dobe
Created July 3, 2018 13:17
Show Gist options
  • Save dobe/4040d2d72e6f9d711e870266c8e7bea1 to your computer and use it in GitHub Desktop.
Save dobe/4040d2d72e6f9d711e870266c8e7bea1 to your computer and use it in GitHub Desktop.
debug http headers on running docker containers
# on the docker host running the container start the netshoot image and connect it to the container
docker run -it --net container:<containerid> nicolaka/netshoot
# example show the http traefik on an interface
tcpdump -i eth1 port 80 -c 1 -Xvv -A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment