virtualisation.docker.enableNvidia vs hardware.nvidia-container-toolkit.enable

I’ve been using this:

deploy:
  resources:
    reservations:
      devices:
        - driver: cdi
          device_ids:
            - nvidia.com/gpu=all

Container runs, but vulkan doesn’t work for me - not sure if cuda would work…

If you find out anything else, I’d be happy to hear about it… Trying to switch to NixOS as main OS and this is kinda stopping me :sweat_smile:

1 Like