-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Nvidia container toolkit #235
Comments
See #22 |
@kroese - can you point me to the post(s) that show how to configure for nvidia via docker-compose? It's a long and winding thread to follow, and the simple 'GPU: "Y"' seems to only install Intel GPU devices/drivers. Here is what I currently have, and its passing the GPU into the container, but not into the windows VM:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Has anyone had success in using the NVK to get the windows 11 container to have access back to the GPU in the host machine? I've added my compose file in case that is the issue or does anyone know if this can even be leveraged in that way?
version: "3"
services:
windows:
image: dockurr/windows
container_name: windows
devices:
- /dev/kvm
cap_add:
- NET_ADMIN
ports:
- 8006:8006
- 3389:3389/tcp
- 3389:3389/udp
stop_grace_period: 2m
environment:
RAM_SIZE: "16G"
CPU_CORES: "8"
DISK_SIZE: "256G"
volumes:
- /home/riffy/docker/appdata/windows11:/storage
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities:
- gpu
The text was updated successfully, but these errors were encountered: