microsoft / microsoft/vscode-remote-release
"Avoiding VS Code extension reinstalls" recipe for dev containers doesn't work
Open
Nobody has claimed this yet.
bug
containers
- Dominant language
- Dockerfile
- Stars
- 4.2k
- Forks
- 470
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
Does this issue occur when all extensions are disabled?: Does not apply
- VS Code Version: 1.74.0
- OS Version: Windows 11, Ubuntu 20.04.5 SSH host, Ubuntu 22.04.1 container
Steps to Reproduce:
- Follow the guide at https://code.visualstudio.com/remote/advancedcontainers/avoid-extension-reinstalls
- Rebuild a container—container-local extensions are not activated even though they're present in the
.vscode-server/extensionsmount.
What works:
- Instead of
.vscode-server/extensions, create a volume for the whole.vscode-serverdirectory. This works, but I don't know if it won't break other things.
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.