-
Notifications
You must be signed in to change notification settings - Fork 2k
Cannot get nvidia-docker2 to run #1742
Comments
Same here |
@Overcraft90 @bsamadi could either of you provide the contents of your Also, how was docker installed? If it was installed using |
Sure, here is the content of mine
In my case, at least, it was installed following the procedure listed here. |
OK, so you're running Docker Desktop? As far as I know this means that docker is running in a virtual machine and is not configured through the |
Ah I see, I deemed a bit more safe than the conventional Docker. What should I do in this situation? |
Thank you @elezar for the point Docker Desktop running in a virtual machine. I uninstalled Docker Desktop and only installed Docker Engine. Everything now works as expected. |
The template below is mostly useful for bug reports and support questions. Feel free to remove anything which doesn't apply to you and add more information where it makes sense.
Also, before reporting a new issue, please make sure that:
1. Issue or feature description
After following the steps here, I'm not able to run my NVIDIA Container Toolkit properly
2. Steps to reproduce the issue
At first, I got my Docker Desktop running on
Ubuntu 22.04
then I did the following:sudo apt-get update
sudo apt-get install -y nvidia-container-toolkit
sudo nvidia-ctk runtime configure --runtime=docker
sudo systemctl restart docker
And until here everything was fine, but then when running
sudo docker run --rm --runtime=nvidia --gpus all nvidia/cuda:11.6.2-base-ubuntu20.04 nvidia-smi
I got prompted the following message
Please, any help is appreciated, as #838 seems to do not solve my issue...
3. Information to attach (optional if deemed irrelevant)
nvidia-container-cli -k -d /dev/tty info
uname -a
dmesg
nvidia-smi -a
23.0.1
] Docker version fromdocker version
(but I got also permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/version": dial unix /var/run/docker.sock: connect: permission denied Client: Docker Engine - Community)dpkg -l '*nvidia*'
orrpm -qa '*nvidia*'
nvidia-container-cli -V
The text was updated successfully, but these errors were encountered: