Skip to content

Instantly share code, notes, and snippets.

@yskszk63
Created June 3, 2023 02:56
Show Gist options
  • Save yskszk63/8baf8c21af42e75b61e8fc0413dff6a3 to your computer and use it in GitHub Desktop.
Save yskszk63/8baf8c21af42e75b61e8fc0413dff6a3 to your computer and use it in GitHub Desktop.
Print listen socket within docker container.
sudo nsenter -t "$(docker inspect awesome_kapitsa|jq '.[].State.Pid' -r)" -n ss -tln
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment