Skip to content

unknown runtime type: "nvidia" #4013

Closed
Closed
@joey-wang97

Description

@joey-wang97

I have installed the nvidia-driver and nvidia-docker2(https://github.com/NVIDIA/nvidia-docker),
I modify the default-runtime in /etc/docker/daemon.json,

[root@localhost ~]# cat /etc/docker/daemon.json 
{
    "default-runtime": "nvidia",
    "runtimes": {
        "nvidia": {
            "path": "nvidia-container-runtime",
            "runtimeArgs": []
        }
    }
}

I want start minikube as runtime using nvidia, but it occurs an error

[root@localhost ~]# minikube start --container-runtime=nvidia
o   minikube v0.35.0 on linux (amd64)
!   Failed to generate config: unknown runtime type: "nvidia"

*   Sorry that minikube crashed. If this was unexpected, we would love to hear from you:
-   https://github.com/kubernetes/minikube/issues/new

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/gpuGPU related itemshelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/documentationCategorizes issue or PR as related to documentation.lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.priority/awaiting-more-evidenceLowest priority. Possibly useful, but not yet enough support to actually get it done.r/2019q2Issue was last reviewed 2019q2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions