Skip to content

Error running devcontainer with container registry kubernetes secret volume mounted #225

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
wazoo opened this issue Jun 6, 2024 · 2 comments

Comments

@wazoo
Copy link

wazoo commented Jun 6, 2024

I am experiencing the same bug as mentioned in #119 and #104 but there doesn't seem to be a release that includes those fixes yet, are there any known workarounds for this issue?

Error message:

error: remove docker config: remove /.envbuilder/config.json: device or resource busy

I have tried many different combinations of paths and values for KANIKO_DIR and DOCKER_CONFIG as well and it always seems to try to delete it. I have also tried setting ENVBUILDER_FORCE_SAFE and setting the secret with DOCKER_CONFIG_BASE64 but I couldn't get that to work either (and I would rather not use an env var for safety).

I have not included many details in this issue because it is the same as the other issues but I am happy to provide more information if needed.

Environment:
Coder: v2.10.2
Envbuilder: 0.2.9, 0.2.8 (both produce this error)
Kubernetes: 1.28.9

It seems like the fix in those other two issues would work and just need to be released, I am trying to avoid having to build a custom version based on main but I can do that if needed to validate.

@coder-labeler coder-labeler bot added the bug label Jun 6, 2024
@wazoo
Copy link
Author

wazoo commented Jun 7, 2024

I built envbuilder from main and can confirm that it doesn't have this issue in my environment.

@johnstcn
Copy link
Member

Hey @wazoo, we're working towards a new release that will include these fixes.

We've also started publishing preview builds here so you don't need to build your own main: https://github.com/coder/envbuilder/pkgs/container/envbuilder-preview

@matifali matifali removed the bug label Oct 15, 2024
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

No branches or pull requests

3 participants