microsoft / microsoft/vscode-remote-release

"Avoiding VS Code extension reinstalls" recipe for dev containers doesn't work

Open
#7,690 40 comments 5 reactions 1 assignee View on GitHub

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:

  1. Follow the guide at https://code.visualstudio.com/remote/advancedcontainers/avoid-extension-reinstalls
  2. Rebuild a container—container-local extensions are not activated even though they're present in the .vscode-server/extensions mount.

What works:

  1. Instead of .vscode-server/extensions, create a volume for the whole .vscode-server directory. This works, but I don't know if it won't break other things.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.