-
Notifications
You must be signed in to change notification settings - Fork 300
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
Rancher Desktop for VSCode devcontainers? #800
Comments
Thank you for raising this issue. I think it will indeed become easier to do this once Rancher Desktop supports the docker-cli. Otherwise you would need to extend the devcontainer support to work with nerdctl. We'll need to investigate this as a potential use-case, so I'll mark it as an enhancement request for now. |
I am using version 0.7.1 with dockerd enabled. When I start VS code from WSL (my code is in the filesystem of an Ubuntu 20.04 distribution) and then try to start my devcontainer, this fails with the following error message:
The command that fails is the following:
However, the paths are correct. If I try in the shell to resolve the used paths then this works without problems. I am quite sure that this is the only problem that currently prevents the use of VS Code devcontainer with rancher desktop. I have also tried to prefix the paths with \wsl$\Ubuntu-DevEnv\ and prober quotet the backslashes, but without luck. If you have any hint which might solve this issue, I would appreciate it. |
@jonathaneckman / @jandubois can we close this out since it's working. |
Yes. My team has been using it since the day you released 0.7 and its working great. Thanks for your hard work! |
Had to change the docker context to rancher-desktop to get it working. Mine was on docker desktop but enabling the moby protocol did not switched to the default or rancher-desktop.
|
This is more of a question than a feature request. My team has been transitioning to VS Code devcontainers for some time. We use Docker Desktop solely because it is a requirement for devcontainers to function. We are searching for a Docker Desktop alternative that handles the glue needed to setup WSL2 with docker on Windows and the same on Mac. Could Rancher Desktop be used as a drop in replacement for Docker Desktop today or after #673 is released?
If so and if getting started with Rancher Desktop is as easy as what Docker Desktop provides today, perhaps it could become more deeply integrated or recommended by the VS Code team, such as with this issue.
microsoft/vscode-remote-release#5538
The text was updated successfully, but these errors were encountered: