Add SSH agent socket configuration to devcontainer
This commit is contained in:
parent
ff3bf49924
commit
5ace864d00
@ -24,5 +24,12 @@
|
||||
"--privileged",
|
||||
"-v", "/dev:/dev"
|
||||
],
|
||||
"mounts": [
|
||||
"source=${localEnv:XDG_RUNTIME_DIR}/ssh-agent.socket,target=/tmp/ssh-agent.socket,type=bind"
|
||||
],
|
||||
"remoteEnv": {
|
||||
"SSH_AUTH_SOCK": "/tmp/ssh-agent.socket"
|
||||
},
|
||||
|
||||
"remoteUser": "root"
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user