meta data for this page
  •  

This is an old revision of the document!


devcontainer

ssh key access

Add bind mounts to devcontainer.json

devcontainer.json
"mounts": []
"source=${localEnv:HOME}/.ssh/,target=/home/vscode/.ssh,type=bind", 
</code>
 
==== Windows WSL ====
WSL is avail under network share ''\\wsl.localhost\[distro]''
 
<file json devcontainer.json>
source=\\\\wsl.localhost\\Ubuntu\\home\\username\\.ssh,target=/home/vscode/.ssh/,type=bind"