devcontainers / devcontainers/spec
readonly mount
Aperta
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 5.7k
- Fork
- 496
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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]
```
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.