Cannot run on Alpine on WSL2
See original GitHub issueOS/Web Information
- Web Browser: Edge
- Local OS: Windows 10 build 21382.1
- Remote OS: Windows 10 build 21382.1
- Remote Architecture: x64
code-server --version
: 3.10.1
Steps to Reproduce
- Install Alpine from windows store (Alpine v3.13)
- install curl on that Alpine :
apk add curl
- run this command :
curl -fsSL https://code-server.dev/install.sh | sh
cd ~/.local/bin
./code-server
Expected
Actual
then this error appears :
DESKTOP-87K2O5K:~/.local/bin# ./code-server
./code-server: exec: line 36: /root/.local/lib/code-server-3.10.1/lib/node: not found
Any ideas ?
Logs
Screenshot
Notes
This issue can be reproduced in VS Code: Yes/No
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Cannot run on Alpine on WSL2 #3413 - coder/code-server
Install Alpine from windows store (Alpine v3.13); install curl on that Alpine : apk add curl; run this command : curl -fsSL ...
Read more >How to reset Alpine distro in WSL2?
1 Answer 1 · Open Windows Powershell in Windows Terminal. · Verify that Alpine is installed: wsl -l -v · Unregister Alpine: wsl...
Read more >Windows 10: cannot run WSL (Ubuntu, Alpine, Docker)
0), running Windows 10 (10.0.19042), I cannot start Ubuntu any more, nor start Docker (Docker Desktop 3.2.2). WSL version is 5.4.72.
Read more >Successfully Connect Alpine WSL 2 to Docker Desktop 2.2
This is perfectly normal. If this is a fresh Alpine WSL installation on Windows, you need to: 1) Make sure the Alpine distro...
Read more >Modern Windows Workflow with WSL2, Alpine Linux, and Oh ...
Step by Step. Hit the Windows key, search: Microsoft Store and search: Alpine WSL; Install; Launch; Provide Enter new UNIX username and ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Please add alpine to your releases, current docker image runs on ubuntu and its size is about 100 mb Alpine is much more lightweight, I don’t know why this great project isn’t fully compatible with alpine
Closing in favor of https://github.com/cdr/code-server/issues/3421