Skip to content

Failed running devcontainer with container registry secret volume mounted #104

Closed
@toshikish

Description

@toshikish

In the case of running envbuilder in Kubernetes with container registry credential mounted (as mentioned in README.md), running fails with the following error:

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

A potential cause is that envbuilder tries to delete the volume mounted credential file.

https://github.com/coder/envbuilder/blob/main/envbuilder.go#L771

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions