/tcpdump-alpine

Alpine based container with tcpdump

Primary LanguageDockerfileGNU General Public License v3.0GPL-3.0

tcpdump-alpine

Alpine based container image with tcpdump

Running

Docker

  • 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

Kubernetes

If you want to run it as a sidecar container on kubernetes;

...
- image: bilalunalnet/tcpdump-alpine
  name: tcpdump-sidecar