devcontainers / devcontainers/cli

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

Đang mở
#236 1 bình luận 1 reaction 1 người được giao Được @chrmarti nhận Xem trên GitHub
feature-request
Ngôn ngữ chính
TypeScript
Star
3k
Fork
457
Merge trung bình
13 giờ 17 phút
Pull request đã merge (30 ngày)
6

Mô tả

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`.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.