Add SSH mount in devcontainer.json
This commit is contained in:
@@ -38,7 +38,10 @@
|
|||||||
"installMaven": true,
|
"installMaven": true,
|
||||||
"installGradle": false
|
"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.
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
||||||
// "forwardPorts": [],
|
// "forwardPorts": [],
|
||||||
|
|||||||
Reference in New Issue
Block a user