sudo nsenter -t $(docker inspect -f '{{.State.Pid}}' jellyfin) -n netstat -tulpn
Enter the namespace of any process and execute a binary from the host within that namespace. Useful for debugging Docker containers that don't have a shell and so can't exec into them.