Add SSH mount in devcontainer.json

This commit is contained in:
zhiqiang feng
2024-02-20 09:53:30 +00:00
parent c317a297a2
commit 270fe39260
+4 -1
View File
@@ -38,7 +38,10 @@
"installMaven": true,
"installGradle": false
}
}
},
"mounts": [
"type=bind,source=/home/${localEnv:USER}/.ssh,target=/root/.ssh,readonly"
]
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],