devcontainers / devcontainers/cli

allow exec command after --workspace-folder flag

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

説明

It seems that the 'exec' command is only allowed as the first parameter.

```
devcontainer --workspace-folder . exec ls
OCI runtime exec failed: exec failed: unable to start container process: exec: "exec": executable file not found in $PATH: unknown
```

Like `up` etc., it expects options followed by `exec` to be allowed.

With this change, one can create an alias as `alias devc="devcontainer --workspace-folder PATH"`.

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

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

評価

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

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

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