microsoft / microsoft/vscode-remote-release
Can't use vscode git commit when inside a devcontainer
Open
Nobody has claimed this yet.
bug
containers
- Dominant language
- Dockerfile
- Stars
- 4.2k
- Forks
- 469
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
I'm using Windows 11 latest version, VScode latest version, docker and doccker desktop, latest version. WSL2 docker integration
When I'm inside a vscode dev container, I can't use the VSCode git integration system to commit or for anything, if I try to commit, I get this error
2025-05-15 13:00:14.371 [info] > git for-each-ref --sort -committerdate --format %(refname)%00%(objectname)%00%(*objectname) [247ms]
2025-05-15 13:00:16.002 [info] > git status -z -uall [1882ms]
2025-05-15 13:01:07.007 [info] > git add -A -- . [1840ms]
2025-05-15 13:01:08.501 [info] > git -c user.useConfigOnly=true commit --quiet --allow-empty-message --file - --signoff -S [1490ms]
2025-05-15 13:01:08.501 [info] error: cannot run ssh-keygen: No such file or directory
error:
fatal: failed to write commit object
And it's very slow in general to pick up file changes, I tried doing
git config --global commit.gpgsign false
problem still there
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.