-
Notifications
You must be signed in to change notification settings - Fork 14
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
Windows support without Docker Desktop #229
Comments
@bjornbyte Setting Regarding the |
Oh thanks! I'll give those a try. |
@bjornbyte Using the unix sock actually won't work - the way to go is to either do everything on WSL - the Daytona client and server --- or if you prefer the client on Windows with PowerShell, 1. run the Daytona server in WSL, then 2. run "daytona api-key generate" in WSL, and then 3. use the Daytona CLI inside Windows to do " The approach with connecting just the Docker engine and not the entire Daytona server from Windows to WSL is something we can't support since it would require mounting volumes across OS's . Let me know if the suggested options work for you. |
With the first approach (client and server in WSL) creating the workspace worked fine, but I couldn't get the IDEs (tried vscode and goland) to work/connect. For VSCode I suspect it was https://www.daytona.io/docs/misc/troubleshooting/#wsl2-with-visual-studio-code (I didn't try following those steps before moving on to client on windows). I have less solid theories about the goland error, `daytona code' downloaded the ide and then when it tried to open it:
So I tried the second approach (generate an api key and run the client in windows) and it's working just fine. Thank you for the guidance! |
oh, for anyone else that finds this and wants to use that second option, note that I used what the CLI output after generating the api key to add the profile:
|
I will check why connecting to the API port directly instead of using the reverse proxy didn't work since the proxy approach has some downsides in terms of speed. You were right in identifying the VSCode issue, I believe GoLand should require a similar "workaround" so we'll make sure to update the docs and test that out too - opened issue #231 for this - so that we can ideally get you fully up and running inside of WSL. Thanks for the follow up and let me know if you run into any other issues |
Hello,
is it possible to use daytona on windows without Docker Desktop? Unfortunately in some contexts Docker Desktop requires a paid license and may not be an option to use. However, installing and running docker in WSL is pretty trivial, but daytona doesn't seem to work with that setup out of the box. Running on windows powershell in this case gives:
and attempting to run in bash in WSL gives
I think the preferred solution would be to connect
//./pipe/docker_engine
to docker in WSL, but I don't really know enough to know if that's feasible and sufficient. My main goal is really just to try it out and assess if it would be a useful tool for my team, but wasn't able to get it running following the docs because of lack of Docker Desktop.The text was updated successfully, but these errors were encountered: