issue: could not select device driver "" with capabilities: [[gpu]] #6458

Closed
opened 2025-11-11 16:55:33 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @KarelWintersky on GitHub (Sep 21, 2025).

Check Existing Issues

  • I have searched for any existing and/or related issues.
  • I have searched for any existing and/or related discussions.
  • I am using the latest version of Open WebUI.

Installation Method

Docker

Open WebUI Version

latest

Ollama Version (if applicable)

No response

Operating System

EndeavourOS (Arch

Browser (if applicable)

No response

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have provided every relevant configuration, setting, and environment variable used in my setup.
  • I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
  • I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
  • Start with the initial platform/version/OS and dependencies used,
  • Specify exact install/launch/configure commands,
  • List URLs visited, user input (incl. example values/emails/passwords if needed),
  • Describe all options and toggles enabled or changed,
  • Include any files or environmental changes,
  • Identify the expected and actual result at each stage,
  • Ensure any reasonably skilled user can follow and hit the same issue.

Expected Behavior

Started container.

Actual Behavior

Result:

b3fb1352fdcf5462b8094021d61f0cd36db51dfffbd3f1e5fa60cad9ad38e983
docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]]

Steps to Reproduce

Running docker command:

docker run -d -p 3000:8080 --gpus=all -v ollama:/root/.ollama -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:ollama

Logs & Screenshots

docker: Error response from daemon: could not select device driver "" with capabilities: gpu

Additional Information

No response

Originally created by @KarelWintersky on GitHub (Sep 21, 2025). ### Check Existing Issues - [x] I have searched for any existing and/or related issues. - [x] I have searched for any existing and/or related discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Docker ### Open WebUI Version latest ### Ollama Version (if applicable) _No response_ ### Operating System EndeavourOS (Arch ### Browser (if applicable) _No response_ ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have **provided every relevant configuration, setting, and environment variable used in my setup.** - [x] I have clearly **listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup** (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc). - [x] I have documented **step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation**. My steps: - Start with the initial platform/version/OS and dependencies used, - Specify exact install/launch/configure commands, - List URLs visited, user input (incl. example values/emails/passwords if needed), - Describe all options and toggles enabled or changed, - Include any files or environmental changes, - Identify the expected and actual result at each stage, - Ensure any reasonably skilled user can follow and hit the same issue. ### Expected Behavior Started container. ### Actual Behavior Result: ``` b3fb1352fdcf5462b8094021d61f0cd36db51dfffbd3f1e5fa60cad9ad38e983 docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]] ``` ### Steps to Reproduce Running docker command: ``` docker run -d -p 3000:8080 --gpus=all -v ollama:/root/.ollama -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:ollama ``` ### Logs & Screenshots docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]] ### Additional Information _No response_
GiteaMirror added the bug label 2025-11-11 16:55:33 -06:00
Author
Owner

@KarelWintersky commented on GitHub (Sep 21, 2025):

nvidia-container-toolkit ver 1.17.8-1 installed as sudo pacman -S nvidia-container-toolkit

@KarelWintersky commented on GitHub (Sep 21, 2025): `nvidia-container-toolkit` ver 1.17.8-1 installed as `sudo pacman -S nvidia-container-toolkit`
Author
Owner

@KarelWintersky commented on GitHub (Sep 21, 2025):

After restarting docker:

$ docker run -d -p 3000:8080 --gpus=all -v ollama:/root/.ollama -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:ollama
6d119bc7fb4446c75847ea3220785536428ec224d1b0fd4b343a19b072c3a998

docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running prestart hook #0: exit status 1, stdout: , stderr: Auto-detected mode as 'legacy'
nvidia-container-cli: ldcache error: process /sbin/ldconfig terminated with signal 9
@KarelWintersky commented on GitHub (Sep 21, 2025): After restarting docker: ``` $ docker run -d -p 3000:8080 --gpus=all -v ollama:/root/.ollama -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:ollama 6d119bc7fb4446c75847ea3220785536428ec224d1b0fd4b343a19b072c3a998 docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running prestart hook #0: exit status 1, stdout: , stderr: Auto-detected mode as 'legacy' nvidia-container-cli: ldcache error: process /sbin/ldconfig terminated with signal 9 ```
Author
Owner

@tjbck commented on GitHub (Sep 21, 2025):

Keep us updated!

@tjbck commented on GitHub (Sep 21, 2025): Keep us updated!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#6458