A #docker image with tcpdump using Alpine. https://hub.docker.com/r/marsmensch/tcpdump/
There's a data volume available at /data/
if you need one.
$ docker run --rm marsmensch/tcpdump
$ docker run --rm --net=host marsmensch/tcpdump
$ docker run --rm --net=host marsmensch/tcpdump -i eth2 port 8080
$ docker run --rm --net=host marsmensch/tcpdump -i any -w - | wireshark -k -i -
$ docker run --rm --net=container:foo marsmensch/tcpdump -i any --immediate-mode -w - | wireshark -k -i -
Heavily influnced by corfr/tcpdump and crccheck/docker-tcpdump, which both did a great job of documenting how to use TCPDump with Docker.