dockur / windows

Windows inside a Docker container.
MIT License
30.28k stars 2.07k forks source link

[Feature]: What about support for Windows Nano Server or Windows Server Core #556

Closed Roterfux closed 2 months ago

Roterfux commented 6 months ago

Is your proposal related to a problem?

No

Describe the solution you'd like.

Would it be an option to support Windows Nano Server or Windows Server Core? They are headless and could be interesting. https://learn.microsoft.com/en-us/virtualization/windowscontainers/manage-containers/container-base-images

Describe alternatives you've considered.

Running Windows Docker images and being unable to mix Windows and Linux container.

Additional context

No response

kroese commented 6 months ago

The images in the link, are Windows containers. So they require a Windows kernel, and are not really usable in any way for this project. So to add Nano Server is impossible, unless Microsoft provides an ISO for it.

However Server Core is already possible, if you do a manual install of any of the Windows Server versions (by setting MANUAL=Y), you will get a screen where you can select the edition. And there you can pick the one that doesnt say (Desktop Experience) at the end.

This will install the Server Core version, which needs less RAM and has no GUI, only commandline.

Roterfux commented 5 months ago

Ah. You are right. With both. Thanks. I will try this next week. Awesome.