microsoft / microsoft/vscode-remote-release
Conditional mounting
Open
@chrmarti is already working on this.
Since Jul 12, 2021.
containers
feature-request
plan-review
- Dominant language
- Dockerfile
- Stars
- 4.2k
- Forks
- 470
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
Hello there!
I have some mounts in my devContainer defined like
"mounts": [
"source=${localEnv:HOME}${localEnv:USERPROFILE}/.config/openstack/clouds.yaml,target=/root/.config/openstack/clouds.yaml,type=bind,consistency=cached",
"source=${localEnv:HOME}${localEnv:USERPROFILE}/.kube/config,target=/root/.kube/config,type=bind,consistency=cached"
],
Some users might not have those files. They will get an error in that case.
Feature Request: Mark mounts as optional or check if they exist on startup.
(Happy about any other solution to that as well)
Thanks in advance!
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.