-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Nvidia GPU devices in systemd will be ignored after 1.1.3 #3671
Comments
@cyphar PTAL |
@cyphar Hi, any progress? |
Thanks for the reply! I've test it with the code, it reports the same issue. For the normal nvidia GPU device, the location is at |
Hi @kolyshkin, Thanks for your efforts! It's ok from my vision, our systemd version is >= 240! |
I found a PR https://github.com/opencontainers/runc/pull/3504/files in 1.13, in which it will ignore the devices can't be
os.Stat
. However, Nvidia GPU is that kind of device, though I do not know why.After the version, If we use the command like this: 'docker run --device /dev/nvidia0:/dev/nvidia0', the DeviceAllow list systemd received from runc will be different from the list runc operates. So if we run
systemctl daemon-reload
, the device will not be able to access anymore.So I'm wondering is it possible to revert the PR, or is there any other solutions?
The text was updated successfully, but these errors were encountered: