-
Notifications
You must be signed in to change notification settings - Fork 845
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 Daytona workspace #1339
Comments
New Quest!A new Quest has been launched in @daytonaio’s repo. Loot of 500 USD has been stashed in this issue to reward the solver! 🗡 Comment ⚔️ When you submit a PR, comment Questions? Check out the docs. 👉 If no one is assigned to the issue, you are welcome to embark on the quest and tackle it without confirmation from us. In the event that multiple PRs are made from different people, we will generally accept those with the cleanest code. |
@Tpuljak I want to know that how the image that we are currently using Is configured. Is there a seperate repository or docker hub link ? |
@divanshu-go the current default image that daytona ships with ( |
what the use of [builder_image/.devcontainer](https://github.com/daytonaio/daytona/tree/main/hack/ |
@Tpuljak thanks for the information , |
You can ignore that for now.
No need for hacks. |
@Tpuljak what if we consider using https://mcr.microsoft.com/en-us/catalog?search=window&type=partial rather than https://github.com/dockur/windows |
@divanshu-go you're free to suggest any approach that will accomplish the goal of creating a windows-based workspace. |
we have two options here1. using one of the official images https://hub.docker.com/r/microsoft/windowsCons:
Pros:
2. using https://github.com/dockur/windowsCons:
Pros:
|
@quest-bot embark |
@vishwamartur has embarked on their Quest. 🗡
This is not an assignment to the issue. Please check the repo’s contribution guidelines before submitting a PR. Questions? Check out the docs. |
@quest-bot embark |
@divanshu-go has embarked on their Quest. 🗡
This is not an assignment to the issue. Please check the repo’s contribution guidelines before submitting a PR. Questions? Check out the docs. |
@divanshu-go, I don't believe that this is a viable options. From what I can see, windows containers aren't meant for this use case but rather only for deployment on Windows Servers. Even though the support is currently lacking for MacOS, I suggest you try this out. |
@Tpuljak If we go with option 1 of using microsoft images and if we want to test them out on linux or macs , we use setups mentioned here accordingly , https://github.com/StefanScherer/windows-docker-machine?tab=readme-ov-file using this will enable support on all three OS - linux , mac , windows (might work on home edition if we use WSL) |
@divanshu-go okay. Please try out both setups yourself and let use know how it goes and what might be the better option in the context of Daytona. |
@Tpuljak |
@divanshu-go use anything you want. Ideally, all of them will work normally. |
I meant to say that should we show a option to the user regarding this or whatever we choose ? |
If this can be solved through a devcontainer, there is no need to implement anything in Daytona. |
@quest-bot embark |
@naaa760 has embarked on their Quest. 🗡
This is not an assignment to the issue. Please check the repo’s contribution guidelines before submitting a PR. Questions? Check out the docs. |
@quest-bot embark |
@Vivekgaddigi has embarked on their Quest. 🗡
This is not an assignment to the issue. Please check the repo’s contribution guidelines before submitting a PR. Questions? Check out the docs. |
Related to daytonaio#1339 Add support for Windows images in Daytona to create workspaces in a Windows environment. * **Devcontainer Configuration** - Add a new feature for Windows images using `ghcr.io/devcontainers/features/windows:1` in `hack/project_image/.devcontainer/devcontainer.json` - Update the `overrideFeatureInstallOrder` to include the new Windows feature * **Server Configuration** - Add an option to configure Windows images in the `configureCmd` in `pkg/cmd/server/configure.go` - Update the `apiServerConfig` to include Windows image configuration * **Workspace Creation** - Add support for creating workspaces with Windows images in the `CreateCmd` in `pkg/cmd/workspace/create.go` - Update the `processPrompting` function to handle Windows image options - Add a flag for Windows image support in the workspace creation command * **Project Configuration** - Add logic to handle Windows images in the `GetProjectsCreationDataFromPrompt` function in `pkg/cmd/workspace/util/creation_data.go` - Update the `ProjectConfigDefaults` to include Windows image defaults
Related to daytonaio#1339 Add support for Windows images in Daytona to create workspaces in a Windows environment. * **Devcontainer Configuration** - Add a new feature for Windows images using `ghcr.io/devcontainers/features/windows:1` in `hack/project_image/.devcontainer/devcontainer.json` - Update the `overrideFeatureInstallOrder` to include the new Windows feature * **Server Configuration** - Add an option to configure Windows images in the `configureCmd` in `pkg/cmd/server/configure.go` - Update the `apiServerConfig` to include Windows image configuration * **Workspace Creation** - Add support for creating workspaces with Windows images in the `CreateCmd` in `pkg/cmd/workspace/create.go` - Update the `processPrompting` function to handle Windows image options - Add a flag for Windows image support in the workspace creation command * **Project Configuration** - Add logic to handle Windows images in the `GetProjectsCreationDataFromPrompt` function in `pkg/cmd/workspace/util/creation_data.go` - Update the `ProjectConfigDefaults` to include Windows image defaults Signed-off-by: Vishwanath Martur <[email protected]>
@divanshu-go based on the discussion we had in slack, you managed to get a windows-based container running and the next step is to figure out how to get agent ssh server running on windows so we can have it running and connected to the daytona server. |
@divanshu-go no need for this. If you send me a message on Slack, expect a response there. If you want to discuss the approach here, which we prefer, you will get a response here. |
@quest-bot embark |
@Rutik7066 has embarked on their Quest. 🗡
This is not an assignment to the issue. Please check the repo’s contribution guidelines before submitting a PR. Questions? Check out the docs. |
Describe the solution you'd like
We should explore the possibility of running Windows images with Daytona to allow users to create workspaces in a Windows environment. This feature might enable additional native development workflows that can not be ran on Linux.
We should look into https://github.com/dockur/windows as possible images to use.
Additional context
We should first discuss the approach here and outline the necessary changes, if any, needed to make this happen.
The text was updated successfully, but these errors were encountered: