Nvidia Drivers in Electric Eel

I was googling all over trying to figure out why nvidia-smi was not working on Electric Eel. I couldn’t get the config to accept either.

When I added:

version: "3.3"
services:
  plex:
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: 1
              capabilities:
                - gpu

I would get the error:
Error response from daemon: could not select device driver "nvidia" with capabilities: [[gpu]]

And it would not deploy.

I found your post @truen

Ran midclt call -job docker.update '{"nvidia": true}' (making sure to convert the encoded ‘ and ” you have to ’ and "

It finished, and BAM. I have nvidia-smi and I can start the container.

Thanks!