-
Notifications
You must be signed in to change notification settings - Fork 43
Can't do rootless workspaces with coder
and envbuilder
in k8s cluster
#181
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
Comments
@shiipou I see this issue is marked "completed". Wondering if there was a fix implemented for this / we can expect to run as nonroot in newer versions of envbuilder? |
Oups I think I missclicked. That not supposed to be closed. |
Envbuilder currently uses kaniko to build workspace images, and kaniko requires root privileges inside the container. You may be able to remap the root user to a non-root user on the host, but building rootless inside the container won't be possible in the near future. |
Ok, thanks for your answer. |
I want to create a rootless workspace with coder and envbuilder in my homelab kubernetes cluster, but I have this error where I can't figure how to pass it.
It seems it doesn't find the
.devcontainer
folder where thedevcontainer.json
file is.It work fine if I didn't set the user (So it will be root)
Full logs
Here the rootless template I wrote :
Details
The text was updated successfully, but these errors were encountered: