使用kasmweb/chrome:1.14.0-rolling镜像时尝试使用--gpus all挂载GPU时 容器启动报错:
Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \"rootfs_linux.go:58: mounting \\\"/etc/vulkan/icd.d/nvidia_icd.json\\\" to rootfs \\\"/var/lib/docker/overlay2/9886b5a4d1ce98c3a721d944eda7c00c8643c4af48c8ac2d67234404d292280e/merged\\\" at \\\"/var/lib/docker/overlay2/9886b5a4d1ce98c3a721d944eda7c00c8643c4af48c8ac2d67234404d292280e/merged/etc/vulkan/icd.d/nvidia_icd.json\\\" caused \\\"not a directory\\\"\"": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type
使用kasmweb/chrome:1.14.0-rolling镜像时尝试使用--gpus all挂载GPU时 容器启动报错:
Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \"rootfs_linux.go:58: mounting \\\"/etc/vulkan/icd.d/nvidia_icd.json\\\" to rootfs \\\"/var/lib/docker/overlay2/9886b5a4d1ce98c3a721d944eda7c00c8643c4af48c8ac2d67234404d292280e/merged\\\" at \\\"/var/lib/docker/overlay2/9886b5a4d1ce98c3a721d944eda7c00c8643c4af48c8ac2d67234404d292280e/merged/etc/vulkan/icd.d/nvidia_icd.json\\\" caused \\\"not a directory\\\"\"": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type
这是我的NVIDIA驱动信息:![16ntdrzu4igddlenhbu42jzkr_0](https://github.com/kasmtech/workspaces-issues/assets/66860040/d68db876-f2be-4504-875d-4916f170ed24)
我在尝试使用--gpus all挂载其他镜像时可以挂载到GPU![2](https://github.com/kasmtech/workspaces-issues/assets/66860040/b33d258b-f6fe-4131-a6a9-7257ec6caec1)