Alpine based container image with tcpdump
-
Container's Network Namespace: To use tcpdump with a specific container's network:
$ docker run -it --net container:<container_name> bilalunalnet/tcpdump-alpine
-
Host's Network Namespace: To use tcpdump with host's network namespace:
$ docker run -it --net host bilalunalnet/tcpdump-alpine
If you want to run it as a sidecar container on kubernetes;
...
- image: bilalunalnet/tcpdump-alpine
name: tcpdump-sidecar