Replies: 1 comment
-
Thank you for opening @Jogi7819! On the VS Code Dev Containers extension side, we have a feature request tracking conditional mounting: microsoft/vscode-remote-release#5322. As indicated in that issue (microsoft/vscode-remote-release#5322 (comment)), there's an issue tracking this for the overall dev container spec here: devcontainers/spec#132, and we'd certainly welcome any contributions to https://github.com/devcontainers/cli! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi community,
we use the same devcontainer.json file in different environments (remote and local builds). Some of the mounts are only required for a certain environment.
Is it possible to make a mount optional (maybe based on environment variables) or to only have warning instead of an error if a certain mount point does not exists?
Is it possible to mount a folder on container creation for example when the initializeCommand stage is executed?
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions