Add SSH agent socket configuration to devcontainer

This commit is contained in:
unai_71 2026-01-25 17:39:52 +00:00
parent ff3bf49924
commit 5ace864d00

View File

@ -24,5 +24,12 @@
"--privileged", "--privileged",
"-v", "/dev:/dev" "-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" "remoteUser": "root"
} }