Devcontainer with GPU access

Here’s a message you can use for Discord: --- Hi everyone,
I've got a question about using envbuilder and devcontainer. We're trying to access the GPUs of our server, but during the build process, we encounter this error:
temp remount: temp remount: bind mount /usr/bin/nvidia-smi => /.envbuilder/mnt/usr/bin/nvidia-smi: operation not permitted
temp remount: temp remount: bind mount /usr/bin/nvidia-smi => /.envbuilder/mnt/usr/bin/nvidia-smi: operation not permitted
Is it possible to mount the GPUs? Any insights or tips would be greatly appreciated!
Thank you for your help 🙂
2 Replies
Codercord
Codercord2d ago
<#1308453800050167880>
Category
Help needed
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
Atif
Atif16h ago
There is some related discussions here: https://github.com/coder/envbuilder/issues/143
GitHub
Investigate GPU support · Issue #143 · coder/envbuilder
Some users will want to mount a GPU to an envbuilder-backed workspace. Can we investigate in which scenarios (if any) this works today and if/how we can patch upstream Kaniko to improve the experie...
Want results from more Discord servers?
Add your server