Leon-Sander / Local-Multimodal-AI-Chat

GNU General Public License v3.0
136 stars 83 forks source link

Unknown or Invalid runtime name: NVIDIA #31

Closed Paramjethwa closed 1 month ago

Paramjethwa commented 1 month ago

ISSUE : docker compose up [+] Running 0/0 ⠋ Container local_multimodal_ai-ollama-1 Creating 0.0s Error response from daemon: unknown or invalid runtime name: nvidia

So i am using WSL2 Ubuntu to run the latest Repository( Ollama integrated) and tried everyhting to resolve this runtime error but no luck

Even try to configure the daemon.json file but still same issue

here is my daemon file snippet : { "runtimes": { "nvidia": { "path": "nvidia-container-runtime", "runtimeArgs": [] } }, "default-runtime": "nvidia" }

paramubuntu@LAPTOP-AF3LO3NQ:~$ docker info | grep -i runtime WARNING: No blkio throttle.read_bps_device support WARNING: No blkio throttle.write_bps_device support WARNING: No blkio throttle.read_iops_device support WARNING: No blkio throttle.write_iops_device support WARNING: daemon is not using the default seccomp profile Runtimes: io.containerd.runc.v2 runc Default Runtime: runc

reinstallation of ollama and docker is already done, please help thank you

got any solution for this

Paramjethwa commented 1 month ago

So found a solution for this..

its a recurring error so whenever you get it do this :

after saving the daemon.json file you have to restart the docker daemon here is the command for that

sudo systemctl daemon-reload sudo systemctl restart docker