Skip to content

Instantly share code, notes, and snippets.

@a5ync
Created December 19, 2018 23:13
Show Gist options
  • Save a5ync/18b84ce20902641cbfe9665beb8184a5 to your computer and use it in GitHub Desktop.
Save a5ync/18b84ce20902641cbfe9665beb8184a5 to your computer and use it in GitHub Desktop.
Lists TCP connections between containers
docker ps -q -f name=utmsp_backend | xargs docker inspect -f '{{.State.Pid}}' | xargs -i nsenter -t {} -n netstat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment