devcontainers / devcontainers/cli

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

Ouverte
#236 1 commentaire 1 réaction 1 personne assignée Réclamée par @chrmarti Voir sur GitHub
feature-request
Langage dominant
TypeScript
Étoiles
3k
Forks
457
Merge moyen
13 h 17 min
PR mergées (30 j)
6

Description

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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.