Jump to content

Docker container - devices to use?


Go to solution Solved by Mentalblaze,

Recommended Posts

Mentalblaze
Posted (edited)

I have had a embyserver running as a container for a long on my old OpenMediaVault. 
Now I upgraded that to OMV 6 and I have been replacing the old compose files with new ones in Portainer. 
But I failed to replace the EmbyServer.
The server was working with the old config but I made the mistake to remove the working container before I tried to start the new stack. 

The problem I get is this error:

Deployment error
failed to deploy a stack: Container embyserver Creating Error response from daemon: Unknown runtime specified nvidia


I have a built in graphics on the motherboard and that is AMD based. So I am not sure if I should pursue installing the "nvidia-container-runtime", especially as I have problem with the commands I found for debian on github...

I have tried to comment out the 

runtime: nvidia # Expose NVIDIA GPUs

in the compose file, but that got me other errors instead. 

But I solved that issue, by removing these lines in the compose file:

    devices:
      - /dev/dri:/dev/dri # VAAPI/NVDEC/NVENC render nodes
      - /dev/vchiq:/dev/vchiq # MMAL/OMX on Raspberry Pi

But that gives another question, is there something I should add there as "devices" to make the emby server work better?

Edited by Mentalblaze
Posted

Hi, work better how? is there something you're trying to solve?

  • Solution
Mentalblaze
Posted

I got it to work with a little back paddling.

Commented out the "runtime: nvidia" and the second line in devices (that was for Raspberry pi) and changed network-mode to "bridge" so now it works.

I tried to install the "nvidia-container-runtime" for debian, but got a bunch of errors. Maybe I try that again later to try and get better performance.
But I leave it as is for now.. 

Posted

Thanks for following up.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...