Fix #4. Needed to mount ~/.ssh and make sure that it has the same UID/GID as the host user

This commit is contained in:
Diego Ripley
2025-06-26 15:14:33 +00:00
parent a55e1d325d
commit 2f346bfa4c
2 changed files with 32 additions and 14 deletions
+8 -5
View File
@@ -3,6 +3,7 @@
"dockerComposeFile": "../docker-compose.yml",
"service": "devcontainer",
"workspaceFolder": "/workspace",
"containerUser": "ubuntu",
"shutdownAction": "stopCompose",
"forwardPorts": [
5432,
@@ -14,13 +15,15 @@
"ms-python.python",
"ms-toolsai.jupyter",
"vsls-contrib.gistfs",
"vscode-icons-team.vscode-icons",
"dorzey.vscode-sqlfluff"
"vscode-icons-team.vscode-icons"
],
"settings": {
"python.pythonPath": "/root/.venv/bin/python",
"python.defaultInterpreterPath": "/root/.venv/bin/python"
"python.pythonPath": "/home/ubuntu/.venv/bin/python",
"python.defaultInterpreterPath": "/home/ubuntu/.venv/bin/python"
}
}
}
},
"mounts": [
"source=${localEnv:HOME}/.ssh,target=/home/ubuntu/.ssh,type=bind,consistency=cached"
]
}