-
Notifications
You must be signed in to change notification settings - Fork 123
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
Docker Error - Unknown or Invalid Runtime Name: Nvidia #132
Comments
It looks like you may not have |
We have installed nvidia-container-toolkit and then started docker, but we get this error. |
I am experiencing same issue, nvidia-container-toolkit is also installed. |
1 similar comment
I am experiencing same issue, nvidia-container-toolkit is also installed. |
We're looking into this but haven't been able to reproduce this yet with the same OS and Docker version. We're still running a few more experiments on freshly provisioned machines to see if we can narrow it down. Our theory is that setup instructions in nvidia-container-toolkit is different than what our machine provisioning scripts do (listed below):
|
Hi, is there any update regarding this issue? I'm experiencing the same on Ubuntu 22.04, Docker v4.30.0 |
was facing the same issue... Editing the file
and then running:
The error stops showing and we are able to see the GPUs inside the containers when we run:
prior to all this, we followed this tutorial (NVIDIA container toolkit instructions). |
The previous solution did not solve my problem.
I changed for the above one and did not solve. I already installed nvidia-container-toolkit. I am using Ubuntu 22.04.3 LTS. |
Happened to run across this thread, so will give my experience: I had the same problem a couple weeks ago, also with Ubuntu 22.04. I had docker installed via snap, and that caused some of the paths to be different than what the Nvidia tools expect. I'm sure it should be fixable for the snap installation as well, but for me the easiest solution was to remove docker entirely and re-install it via apt-get as instructed here in docker guides. I tried to make it work with the snap version but quickly ran out of patience and decided to just reinstall docker entirely. So if you haven't already, you might want to check how your docker is installed. |
I am encountering a runtime error with Docker when trying to use the Nvidia runtime. This issue arises despite having a successful output with an initial Docker command and making subsequent edits to the Docker configuration.
Steps to Reproduce
Run the following Docker command which executes successfully:
Edit
/etc/docker/daemon.json
as follows:After making these changes, attempt to execute a script with the command:
scripts/run_dev.sh ~/workspaces/isaac_ros-dev/
This results in the following error:
Expected Behavior
The Docker container should recognize the Nvidia runtime without errors, especially since the initial command runs without issues.
Actual Behavior
The system throws an error stating "unknown or invalid runtime name: nvidia" when trying to run a script that utilizes Docker with the Nvidia runtime.
Environment
Attempts to Resolve
daemon.json
file.Request for Help
Could anyone provide insights or suggest potential solutions to resolve this runtime error? Any advice or guidance would be greatly appreciated.
The text was updated successfully, but these errors were encountered: