Mikel
CCoder.com
•Created by Mikel on 3/25/2025 in #help
Issue with Cloning a Specific Branch from a Private GitLab Repo Using SSH in Envbuilder
Oh great, we will adapt our use case to use External Auth then, thanks for your help! 🙂
12 replies
CCoder.com
•Created by Mikel on 3/27/2025 in #help
Devcontainer Template Ignores GPU Limits (All GPUs Visible)
Hey @Phorcys , just following up as you suggested! Hope KubeCon EU went well.
No rush, but when you get a chance, I’d really appreciate any pointers on the GPU isolation issue with the Devcontainer template. Your insights would be super helpful!
Thanks again for the support! 🙏
17 replies
CCoder.com
•Created by Mikel on 3/27/2025 in #help
Devcontainer Template Ignores GPU Limits (All GPUs Visible)
Hey folks, just to add some context, I'm using the repo
https://github.com/BrunoQuaresma/envbuilder-gpu-test
with the init script configured as /tmp/vectorAdd
(as suggested in the github issue) . I'm encountering the following error during the build process:
17 replies
CCoder.com
•Created by Mikel on 3/27/2025 in #help
Devcontainer Template Ignores GPU Limits (All GPUs Visible)
Great! Any kind of guidance here would be very much appreciated 😉
17 replies
CCoder.com
•Created by Mikel on 3/27/2025 in #help
Devcontainer Template Ignores GPU Limits (All GPUs Visible)
I saw the idea of using
priviledged = true
here: https://github.com/coder/envbuilder/issues/143#issuecomment-219240582817 replies
CCoder.com
•Created by Mikel on 3/27/2025 in #help
Devcontainer Template Ignores GPU Limits (All GPUs Visible)
Hey @Phorcys, thanks for the reply!
I needed to add
privileged = true
and run_as_user = 0
because without them, the build process was failing with errors related to file access and GPU initialization. Specifically, I was getting errors like:
It seems that without privileged mode, the container couldn’t access the necessary GPU resources during the build process.
From your experience, do you think there’s a way to configure the GPU access more securely without using privileged mode? I suspect that the privileged setting is indeed causing the GPU isolation issue, but I’m not sure how to bypass the file access issues without it.
Full logs attached17 replies
CCoder.com
•Created by Mikel on 3/25/2025 in #help
Issue with Cloning a Specific Branch from a Private GitLab Repo Using SSH in Envbuilder
Hey @Phorcys thanks for your answer, in the meantime I was able to clone the private repo with deploy tokens using https but it would be nice to know more about the SSH limitations 🙂
12 replies