Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

devcontainer.json does not honor configuration when containerUser is not set

Open
#483 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
docker, go
Domain
devops

Research direction

Start in devcontainer/devcontainer.go at UserFromDockerfile and userFromImage, then compare the behavior with the linked issue #457. Reproduce the case using devcontainer.json without containerUser and ENVBUILDER_INSECURE enabled; done means the development environment works without the workaround.

Written by the indexing model from the issue text.

Description

We've found an issue where devcontainer.json does not work unless you force a containerUser.

I believe this is similar to https://github.com/coder/envbuilder/issues/457.

I think this problem stems from:

In our case, in development environments we set ENVBUILDER_INSECURE to be able to use registries without proper TLS, but with this issue, that does not work.

Our workaround is to set containerUser for now and avoid the issue.

Dominant language
Go
Stars
300
Forks
64
Avg merge
20m
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from coder/envbuilder

All issues in coder/envbuilder

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.