Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About sharing the same extension dir for different sytem platform #6762

Open
dxkrs opened this issue Apr 17, 2024 · 1 comment
Open

About sharing the same extension dir for different sytem platform #6762

dxkrs opened this issue Apr 17, 2024 · 1 comment
Labels
enhancement Some improvement that isn't a feature

Comments

@dxkrs
Copy link

dxkrs commented Apr 17, 2024

Why do you want this feature?

I set a code-server dir which can be mounted in different docker containers and can run code-server in every container through my running script. The Data dir and Extension dir also be mounted in different containers so that they can use the same user setting and same extensions.
However, I have found some problem. Some extensions in different system have different install pack. Most of extensions targetPlatform is "universal", but some of them need the "alpine" when runing in the container which base on the alpine image.

What is your suggestion?

I don't know what the best solution to this situation. For now I just can mount different extensions dir in different containers, even if most of extensions is same.

@dxkrs dxkrs added the enhancement Some improvement that isn't a feature label Apr 17, 2024
@code-asher
Copy link
Member

code-asher commented Apr 17, 2024

Extension loading is all handled in VS Code so I am not sure there is anything we can do here from code-server.

You could open an issue upstream (https://github.com/microsoft/vscode), but I suspect they might tell you to use settings sync instead; unfortunately settings sync does not work with code-server last I heard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Some improvement that isn't a feature
Projects
None yet
Development

No branches or pull requests

2 participants