Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Nvidia docker fail between 7.3.0-beta.2 and RC1

Featured Replies

  • Community Expert

Hey all

So I have a container running ollama. Everything was working when I went to bed last night. This morning, I allowed the server o upgrade to rc1. Immediately thhe ollama container is failing with this:

--gpus=all 'ollama/ollama'

3c5750fb5f4508a3bb986b33dabcf4b0c48aeaae14ccb3c6b0c95ef0e59b2f58
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 failed with error code: 1

The container will not start. If I remove gpus=all it works on pure cpu.

So I have tried:

Reinstalling container.

Changing back to r2.

Downgrading driver and moving from closed to open, etc.

Stop docker and restart docker service.

Nothign worked. Maybe I didn't do those steps ina specifc order or something dunno..

Thoughts appreciated )

(update - whoops forgot diagnostics)

companion-diagnostics-20260424-1308.zip

Edited by enesha

Solved by enesha

  • Author
  • Community Expert
  • Solution

Yeah My bad. Didn't think of tha . Ah well. thought I did a search too but I guess I was deficient there.

So - I did look there, and was able to find the solution (for me at least) and I will add it here just in case anyone runs across this in the future.

It was simple, just change Extra Parameters to: --gpus all --runtime=nvidia

that specific runtime was the key

Thanks!

  • Community Expert

FYI it's only ever been --runtime=nvidia in extra parameters.

Not sure where people started getting --gpus all from...

  • Community Expert

--gpus=all is the modern, supported method for gpu passthrough as per Dockers documentation (linked).
It does work on Unraid, I use it currently in 7.2, but there are regressions in 7.3.x, which look likely to be issues with nvidia-container-toolkit.
https://docs.docker.com/engine/containers/gpu/

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.