microsoft / microsoft/vscode-remote-release

Conditional mounting

Open
#5,322 43 comments 118 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.