You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.
I need to mount local ssh keys from ~/.ssh into the devcontainer using this mount option:
"mounts": [
"source=${localEnv:HOME}${localEnv:USERPROFILE}/.ssh,target=/home/vscode/.ssh,type=bind"
]
I need this to be able to push and pull changes from Github.
Both of the variables ${localEnv:HOME} and ${localEnv:USERPROFILE} seem to be empty when devcontainer is activated and I can see the devcontainer output that docker command is being passed wrong mount options as a result of this and therefore the devcontainer activation fails.
This is true when running vscode directly from Windows or running it from WSL.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Steps to Reproduce:
"mounts": [
"source=${localEnv:HOME}${localEnv:USERPROFILE}/.ssh,target=/home/vscode/.ssh,type=bind"
]
I need this to be able to push and pull changes from Github.
${localEnv:HOME}
and${localEnv:USERPROFILE}
seem to be empty when devcontainer is activated and I can see the devcontainer output thatdocker
command is being passed wrong mount options as a result of this and therefore the devcontainer activation fails.The text was updated successfully, but these errors were encountered: