Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker-compose.yml里的NVIDIA里驱动问题 #343

Open
joylijoy opened this issue May 24, 2024 · 0 comments
Open

docker-compose.yml里的NVIDIA里驱动问题 #343

joylijoy opened this issue May 24, 2024 · 0 comments

Comments

@joylijoy
Copy link

请问 docker-compose.yml中下面这一行
volumes:
- /usr/local/nvidia:/usr/local/nvidia # 让容器访问主机的NVIDIA驱动
-
我主机已经安装了nvidia驱动,但我填了很多个目录最后启动的时候都报错:
Error response from daemon: could not select device driver "nvidia" with capabilities: [[gpu]]

我该填什么目录才可以,谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant