Search code examples
dockervisual-studio-codewindows-subsystem-for-linux

Visual Studio Code do not start over Docker Desktop


After upgrading Docker/Docker-Desktop to 4.0.0 i'm not able to start Visual Studio Code over Docker-Desktop.

Docker Desktop show an error: Error invoking remote method 'desktop-go-backend': Error: Internal Server Error

and if i start Visual Studio Code not over Docker Desktop, Visual Studio Code can not connect to WSL. Console Output come with an error like this:

/home/xxxx/.vscode-server/bin/xxxxxxxxxxxxxxxxxxxxxxxxxx/bin/code: not found

Solution

  • After searching in outer issues with VS Code and WSL, i found the solution for me:

    I delete the directory: /home/xxxxx/.vscode-server/ in the WSL/Distribution

    because the directory /home/xxxxx/.vscode-server/bin/xxxxxxxxxxxxxxxxxxxxxxxxxx/ was empty

    After deleting the directory and restart VS Code the needed files are reinstalled and all working like before.