Skip to content

Devcontainer fails to build #8540

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

Closed
Tirzono opened this issue Jul 17, 2023 · 4 comments · Fixed by coder/envbuilder#33
Closed

Devcontainer fails to build #8540

Tirzono opened this issue Jul 17, 2023 · 4 comments · Fixed by coder/envbuilder#33
Assignees

Comments

@Tirzono
Copy link
Contributor

Tirzono commented Jul 17, 2023

I am running a k3s cluster with local-storage as my default storage class. I am using the following template (with the changes done in #8539):

https://github.com/coder/coder/blob/main/examples/templates/devcontainer-kubernetes/main.tf

When using one of the example repository (vercel/next.js), I get the following error while starting a workspace:

Failed to 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/..data: read-only file system

Note the same errors appears with the other example repositories.

I am not entirely sure whether this is a bug in coder, envbuilder or something on my side when it comes to the configuration of my cluster, but please let me know if it's something on my side or whether I should open an issue in the envbuilder repository.

@cdr-bot cdr-bot bot added the bug label Jul 17, 2023
@matifali matifali added need-help Assign this label prompts an engineer to check the issue. Only humans may set this. and removed need-help Assign this label prompts an engineer to check the issue. Only humans may set this. labels Jul 17, 2023
@kylecarbs
Copy link
Member

This is a bug with envbuilder we'll fix!

@kylecarbs
Copy link
Member

@Tirzono v0.2.0 of envbuilder will be coming out shortly. It should just work, but let me know if you have any problems. I'll ping here once it's out.

kylecarbs added a commit to coder/envbuilder that referenced this issue Jul 18, 2023
@kylecarbs
Copy link
Member

v0.2.0 is pushed! Try updating the image and LMK if that works.

@Tirzono
Copy link
Contributor Author

Tirzono commented Jul 18, 2023

That seems to work, thank you very much for the quick fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants