microsoft / microsoft/vscode-remote-release

Add `open` command to `@vscode/dev-container-cli`

Open
#5,957 9 comments 11 reactions 1 assignee View on GitHub

@chrmarti is already working on this.

Since Nov 30, 2021.

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

Description

This issue is a follow-up of https://github.com/microsoft/vscode-remote-release/issues/5415#issuecomment-981373936.

Now the devcontainer cli is available to be installed from npm with npm install --global @vscode/dev-container-cli, but it's missing the open command.

My use case is to have it installed as part of my dotfiles, so that I get the devcontainer command installed every time I bootstrap a new computer with my dotfiles installation script (which also manages to install VS Code, by the way).

However, I use a similar dotfiles experience as a managed development environment for the my team, and there, I have a guide where I tell them to:

  1. Install our dotfiles to bootstrap their dev env
  2. Clone any of our company's repository
  3. devcontainer open it

But it would be too cumbersome if I had to write instructions like:

  1. First open VS Code
  2. F1 -> Install Devcontainer CLI
  3. Answers the questions on the screen

And then get back to the part where devcontainer open would actually work.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.