Created
October 23, 2019 09:56
-
-
Save mihaisoloi/c143cb59a89cbdce50243672ede7f147 to your computer and use it in GitHub Desktop.
enters a network container, specified by the PID, captures everything on the interface eth0 on the container and exports it as a file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nsenter -n -t 2132 tcpdump -i eth0 -s 0 -A port 8000 -w capture.tcpdump |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ps aux | less
and search for your container start comand