docker failing to restart with nvidia runtime

  • Any ideas on this?




    Followed the video made by ryecoaaron linked in the #1 post of this thread.


    Portainer is running fine however both Plex and and Tautulli Remote containers have exited status.

    • Official Post

    Did you configure nvidia drivers/etc on your system? What does your daemon.json look like?

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • yes, GPU was transcoding Plex content for years. It broke upgrading to omv6/deb11. Installed the latest drivers to fix the broken upgrade. Transcoding worked again until I started this shift to the new compose, as per that video. Haven't touched anything since.


    Code
    # cat /etc/docker/daemon.json
    {
      "data-root": "/var/lib/docker"
    }


    Specified /var/lib/docker in the config as per the video. Don't know what the issue is.


    Driver shows up with nvidia-smi


  • Seems fixed, well at least as far as the containers start now.


    You were on the right track with daemon.json. Had to add back the runtime detail for nvidia.


    Found this:

    Docker Error - Unknown or Invalid Runtime Name: Nvidia
    Let’s take a look at the Visual SLAM package above in the Isaac Sim environment. This package works in ROS2 environment. Edit /etc/docker/daemon.json: I…
    forums.developer.nvidia.com


    Code
    # nvidia-ctk runtime configure --runtime=docker
    INFO[0000] Loading docker config from /etc/docker/daemon.json
    INFO[0000] Successfully loaded config
    INFO[0000] Wrote updated config to /etc/docker/daemon.json
    INFO[0000] It is recommended that the docker daemon be restarted.
    # systemctl restart docker



    Code
    # cat /etc/docker/daemon.json
    {
        "data-root": "/var/lib/docker",
        "runtimes": {
            "nvidia": {
                "args": [],
                "path": "nvidia-container-runtime"
            }
        }


    Will test, don't expect issues

    • Official Post

    Just make sure to leave the Docker storage field blank since you are customizing it.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Discovered that (hw) transcoding had stopped working. After going through the above, I've found that the plex container runtime defaulted back to "runc".


    Using portainer, I used duplicated/edit the container to change the runtime to "nvidia". Deployed container and (hw) transcoding once again is working.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!