devcontainers / devcontainers/spec
Port features.json properties for most common runtime arguments
- 主要言語
- 言語のデータがありません
- スター
- 5.7k
- フォーク
- 496
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
As a part of development for dev container features (#60), we introduced properties for the most common runtime arguments used in `devcontainer.json`'s `runArgs` property. The great part about this implementation is that it worked with Docker Compose as well and is abstracted enough to work with other potential orchestrators or container runtimes down the road. It would be awesome to bring these to `devcontainer.json` as well.
Specifically:
- `privileged`
- `capAdd`
- `securityOpt`
- `init`
- `mounts` in a revised form that is not quite so engine specific
- `entrypoint` (which would be useful with the proposed `overrideEntrypoint` from https://github.com/microsoft/vscode-remote-release/issues/3614#issuecomment-724125719)
We could also bring `containerEnv` into Docker Compose as it is in `features.json`.
Ideally we'd continue this trend whenever a new property along these lines is added to `features.json` (and vice versa).
コントリビューションガイド
調査の方向性
features.jsonですでに導入されているランタイム引数のプロパティを、devcontainer.jsonのrunArgsプロパティおよびissueに記載されているDocker Composeの動作と比較します。privileged、capabilities、security options、init、mounts、entrypoint、containerEnvのポータブルなスキーマを決定し、その提案が言及されているコンテナランタイム全体で引き続き利用可能であることを検証します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- docker-compose
- 領域
- devops, infrastructure
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 25/100