Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/slashdoom/tcpdump-docker
An Alpine Linux tcpdump Docker image for network troubleshooting and testing.
https://github.com/slashdoom/tcpdump-docker
Last synced: about 1 month ago
JSON representation
An Alpine Linux tcpdump Docker image for network troubleshooting and testing.
- Host: GitHub
- URL: https://github.com/slashdoom/tcpdump-docker
- Owner: slashdoom
- License: mit
- Created: 2024-03-20T18:21:55.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-03-20T18:23:57.000Z (10 months ago)
- Last Synced: 2024-03-20T19:54:06.221Z (10 months ago)
- Language: Dockerfile
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
tcpdump-docker
=====### tcpdump Docker image for Network troubleshooting and testing
- The man page for tcpdump can be found at http://www.tcpdump.org/tcpdump_man.html
- A GitHub repo with the Dockerfile can be found at https://github.com/slashdoom/tcpdump-docker### Run the Docker Image and Show the tcpdump Options
docker run -it --rm slashdoom/tcpdump --help### Usage
Packet capture another container to stdout:$ docker run -it --net container:[container name or ID] slashdoom/tcpdump [TCPDUMP OPTIONS]
Packet capture another container to file:
$ docker run -it -v $PWD:/pcap --net container:[container name or ID] slashdoom/tcpdump -w /pcap/capture.pcap [TCPDUMP OPTIONS]