devcontainers / devcontainers/spec
readonly mount
- 主要言語
- 言語のデータがありません
- スター
- 5.7k
- フォーク
- 496
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
the `mount` property in the `devcontainer.json` as described here https://containers.dev/implementors/json_reference/#general-properties accepts a list of `:`. How can I flag the mount to be `readonly` using this type of definition?
Most often, the mount instruction is a one-liner (https://code.visualstudio.com/remote/advancedcontainers/add-local-file-mount), and in that case I can specify the `readonly` flag like
```
"mounts": ["source=...,target=...,type=bind,readonly]
```
コントリビューションガイド
調査の方向性
まず devcontainer.json の一般プロパティのリファレンスと、リンクされている VS Code の mount 例を読み、その後、mount オプションについて文書化されているリスト形式とオブジェクト形式を比較します。要求された定義スタイルについて readonly 形式が明示的に文書化されるか、サポートされる構文が明確になれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- json
- 領域
- devops
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100