You need to enable JavaScript to run this app.
最新活动
大模型
产品
解决方案
定价
生态与合作
支持与服务
开发者
了解我们

WSL2 Ubuntu环境下Docker调用Intel Iris Xe显卡运行ollama容器失败求助

WSL2 Ubuntu环境下Docker调用Intel Iris Xe显卡运行ollama容器失败求助

大家好,我现在碰到个棘手的问题想求助各位:

我的设备是联想T29,显卡为Intel(R) Iris(R) Xe Graphics,用glxinfo查询显示的结果是D3D12 (Intel(R) Iris(R) Xe Graphics)

先说说我的环境现状:

  • 主机系统是Windows 11 Pro,已经安装了WSL2 Ubuntu
  • Docker Desktop在设置里已经开启了和WSL Ubuntu的共享功能
  • Ubuntu下的Docker可以正常运行
  • Windows下的Docker也没问题,比如执行docker run hello-world能正常输出结果

但不管是在Windows还是WSL2 Ubuntu里,当我执行这条命令时:

docker run --gpus all -it ollama/ollama

都会出现报错,具体错误信息如下:

docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running hook #0: error running hook: exit status 1, stdout: , stderr: Auto-detected mode as 'legacy'
nvidia-container-cli: initialization error: WSL environment detected but no adapters were found: unknown.

有没有大佬能帮忙分析下问题出在哪,该怎么解决呀?

备注:内容来源于stack exchange,提问作者Mickey Perlstein

火山引擎 最新活动