microsoft / microsoft/vscode-remote-release

Add ability to specify container name in `devcontainer.json`

Open
#2,485 22 comments 120 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

containers feature-request plan-review
Dominant language
Dockerfile
Stars
4.2k
Forks
470
Avg merge
1d 1h
Merged PRs (30d)
1

Description

It would be great to be able to specify a default container name rather than the autogenerated name provided via VSCode.

I could rename the container afterwards but without knowing what the name of the container will be when first generated, it's non-trivial to automate this.

My use case is knowing the name of my development container so I can use volumes-from to pass its volumes to any new containers it creates.

Contributor guide

Open the contributing guide

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.

Research direction

Start by tracing how the project reads devcontainer.json and assigns the autogenerated container name. Define the configuration behavior needed for a default name, then verify that the created development container can be identified for the described volumes-from workflow.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.