Variables in devcontainer.json? #142
Unanswered
jalanh11640
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi 👋 Are you familiar with |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there anyway to specify a variable in devcontainer.json? I'm thinking something like this..
"variables": {
"HOST": "myHostName"
},
{ // devcontainer.json starts here
...
"runArgs": [
"-h", "${variables:HOST}"
],
"postCreateCommand": "vscodePostCreate.sh ${variables:HOST}"
}
Thanks,
Jeff
Beta Was this translation helpful? Give feedback.
All reactions