devcontainers / devcontainers/cli

Support `exec` by `--id-label`

オープン
#236 コメント 1 件 リアクション 1 件 担当者 1 名 @chrmarti が担当を希望しています GitHub で見る
feature-request
主要言語
TypeScript
スター
3k
フォーク
457
平均マージ
13時間 17分
マージ済み PR(30日)
6

説明

Right now, `--workspace-folder` is a mandatory argument to `exec`. This makes sense if the devcontainer was started from the environment that's running the CLI, from a locally-accessible filesystem. However, if the container was started by way of VS Code's "Clone Repository in Container Volume" feature, it's impossible to provide the workspace folder, since it only existed within the ephemeral bootstrap container.

It seems like `--id-label` is intended to be an identification mechanism for containers that doesn't require a local copy of their `devcontainer.json` -- if so, it would make sense to support this mechanism for `exec`.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。