microsoft / microsoft/vscode-remote-release
`mounts` property is not very intuitive
Open
@chrmarti is already working on this.
Since Jan 28, 2020.
containers
feature-request
plan-review
- Dominant language
- Dockerfile
- Stars
- 4.2k
- Forks
- 470
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
Refs: https://github.com/microsoft/vscode-remote-release/issues/2207
I'm a noob to dev containers. To configure I mount, I expected to be able to have an object in the array like
"mounts": [
{
"source": "/home/connor/Github",
"target": "/sources"
}
],
...so I tried putting in an object and write a property, but didn't get intellisense. When I went to the docs I discovered it needs to be the CLI string form
"mounts": ["source=${localEnv:HOME}${localEnv:USERPROFILE},target=/host-home-folder,type=bind,consistency=cached"]
It seems like we could allow users to specify that as a string or object, and if given as an object then stringify it for them.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.