Created
September 29, 2026 14:57
-
-
Save joeperpetua/3d559489a7e16aaccd789074d932c37b to your computer and use it in GitHub Desktop.
Run a network grep to intercept any incoming or outgoing traffic of a running container. Good to debug/inspect real-time traffic in one of your services.
This file contains hidden or 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
| docker run --rm -it --net container:<container_id> nicolaka/netshoot ngrep -W byline -d any port <container_port> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment