-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
podman rootless nvidia gpu not working #5711
Comments
This error definitely is not out of Podman, so I don't know how much we'll be able to help you. You may want to ask about it at https://github.com/NVIDIA/nvidia-container-runtime (I believe you may have already). |
Thank you @mheon for your quick feedback. Yes, I also posted my issue here: |
If it does turn out to be a Podman issue from what you learn over there, feel free to reopen |
Working solution: NVIDIA/nvidia-container-runtime#85 (comment) |
@jamescassell Awesome! It definitely fixes rootless. Unfortunately now rooted spits out an error :( There must be an even better way out there somewhere. |
Hi @mheon
After some attempts, I find out that I have totally no idea why this would even work, though.
|
The audit_write capability is attempted to be taken care of using syscalls. @giuseppe FYI. |
I can't run podman rootless with GPU, someone can help me?
docker run --runtime=nvidia --privileged nvidia/cuda nvidia-smi
works fine butpodman run --runtime=nvidia --privileged nvidia/cuda nvidia-smi
crashes, same forsudo podman run --runtime=nvidia --privileged nvidia/cuda nvidia-smi
Output:
But, runc exists:
The text was updated successfully, but these errors were encountered: