Skip to content

Cannot find a compatible Vulkan installable client driver (ICD) in docker swarm service

hey, guys, thanks for this image. I am trying to deploy a large vulkan app as a service in a docker swarm cluster.

first, I tried with vulkan sample, with single docker run --runtime=nvidia, it works well.

and following support for swarm mode in docker 1.12 to configure the docker swarm. then I tried to load vulkan sample in this swarm:

 docker service create --name vkcube --env DISPLAY  --generic-resource "gpu=1" --constraint 'node.role==manager' 192.168.0.10:5000/vkcube

but it always report error: Cannot find a compatible Vulkan installable client driver (ICD)

cause a single docker run works, and the nvidia_icd.json is in the image, so I don't understand what this error means, can you help it out?

Thanks David

Edited by david-gwa