Skip to content

Containerd config file created in wrong directory - /etc/containerd/config.d/ #1404

@stevbev

Description

@stevbev

Apologies if this is already reported, I searched but could not find an issue for this.

ncidia-ctk creates the containerd config file in the wrong location according to the documentation and where containerd loads extra configs from. The file is output to /etc/containerd/config.d/99-nvidia.toml instead of /etc/containerd/conf.d/99-nvidia.toml (note the extra "ig" in the path). This causes containerd to not load the nvidia settings until the config file is moved to the proper directory.

Nvidia instructions:
https://docs.nvidia.com/datacenter/cloud-native/gpu-operator/latest/getting-started.html

RUNTIME_DROP_IN_CONFIG
The path on the host where the NVIDIA-specific drop-in config file will be created. By default this will point to /etc/containerd/conf.d/99-nvidia.toml.

Command output:

$ nvidia-ctk --version
NVIDIA Container Toolkit CLI version 1.18.0
commit: f8daa5e26de9fd7eb79259040b6dd5a52060048c

$ sudo nvidia-ctk runtime configure --runtime=containerd
INFO[0000] Using config version 2
INFO[0000] Using CRI runtime plugin name "io.containerd.grpc.v1.cri"
INFO[0000] Wrote updated config to /etc/containerd/config.d/99-nvidia.toml
INFO[0000] It is recommended that containerd daemon be restarted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions