nerdctl icon indicating copy to clipboard operation
nerdctl copied to clipboard

Handle --gpus flag using CDI

Open elezar opened this issue 1 month ago • 2 comments

This change switches to using CDI to handle the --gpus flag. This removes the custom implementation that invoked the nvidia-container-cli directly. This mechanism does not align with existing implementations.

See also:

  • Equivalent change in ctr: https://github.com/containerd/containerd/pull/12537
  • Equivalent change in docker: https://github.com/moby/moby/pull/50228

elezar avatar Nov 25 '25 14:11 elezar

Yes, most likely. I will look at updating the docs too.

Update: Updated.

elezar avatar Nov 26 '25 05:11 elezar

This PR can fix the issue https://github.com/containerd/nerdctl/issues/4621

ChengyuZhu6 avatar Nov 27 '25 02:11 ChengyuZhu6