Dev Containers cannot connect to alpine container in cursor

As far as I know, only alpine

[2311 ms] Failed to download VS Code Server (https://cursor.blob.core.windows.net/remote-releases/5af2d34c39df93a39bd54c9b9103cab514b380f0/vscode-reh-linux-alpine.tar.gz): HTTP 404 - The specified blob does not exist.
[2312 ms] Retrying to download VS Code Server.
[2568 ms] Error: Server returned 404
    at BI (vscode-file://vscode-app/c:/Users/BSI/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:667:62034)
    at _Wt.download (vscode-file://vscode-app/c:/Users/BSI/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:2925:30901)

Try uninstalling and reinstalling the Dev Containers extension - this might resolve the download issues you’re seeing, as it will make sure the right version for Cursor is downloaded (vs an incompatible version from a VSCode import).

If that doesn’t work, Alpine containers might not be fully supported in Cursor right now. You could try using a different base image like Ubuntu or Debian instead

Same issue here, uninstalling & reinstalling Dev Containers extension did not work for me. Changing base image to slim did the trick for me.

1 Like

I can confirm that the problem refers to Alpine containers. After I changed the base image to slim, everything worked fine. Extension reinstalling didn’t work out for me either.

I don’t think it’s too difficult to fix this, alpine container is very common

1 Like

Change “alpine” to “slim” is not a solution. Its work, is a “Workaround”, “quick and dirty”, “bad-aid solution”… but is not a solution :frowning:

Hi! Wanted to share that we just added support for Alpine Linux remote hosts.

You will need:

  • Cursor v0.50.5 or greater
  • The latest version of the Anysphere Remote Extension
    • Dev Containers (anysphere.remote-containers) v0.0.12 or greater, or
    • Remote SSH (anysphere.remote-ssh) v0.0.34 or greater
  • Inside your Alpine remote host:
    • bash
    • libstdc++
    • wget
    • openssh (SSH only, not required for docker), with TCP Forwarding enabled (set AllowTCPForwarding yes inside /etc/ssh/sshd_config)

Support for Alpine remote hosts is in beta. Please let us know if you run into any issues with the setup. Thanks!

1 Like