I’m running in a containerized environment, so nsight needs to run in a root/privileged container to have enough access to the host system. However, I’d rather not run the application being profiled in a privileged container.
Ideally I would run nsight in a privileged container, the application in a separate unprivileged container, and attach nsight to the application’s PID. My understanding is that nsight does not support attaching to PIDs though - so in this situation, is there any solution other than making the application container privileged and running nsight in that container?