Mikel
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-testwith the init script configured as /tmp/vectorAdd (as suggested in the github issue) . I'm encountering the following error during the build process:
Failed to build: do build: error building stage: failed to get filesystem from image: error removing var/run to make way for new symlink: unlinkat /var/run/secrets/kubernetes.io/serviceaccount/namespace: read-only file system
Failed to build: do build: error building stage: failed to get filesystem from image: error removing var/run to make way for new symlink: unlinkat /var/run/secrets/kubernetes.io/serviceaccount/namespace: read-only file system
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-2192405828
17 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:
error building stage: failed to get filesystem from image: error removing lib to make way for new symlink: unlinkat //lib/firmware/nvidia/560.35.05/gsp_ga10x.bin: device or resource busy
error building stage: failed to get filesystem from image: error removing lib to make way for new symlink: unlinkat //lib/firmware/nvidia/560.35.05/gsp_ga10x.bin: device or resource busy
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 attached
17 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