GoogleCloudPlatform / konlet

Apache License 2.0
79 stars 23 forks source link

Support for Windows Server Core for Containers #49

Open madmod opened 6 years ago

madmod commented 6 years ago

Making konlet support Windows Server Core for Containers (and installing it by default) would greatly improve the GCE user experience for deploying Windows containers. It is currently not intuitive that the container feature advertised in the UI only works for (some) linux images. The best GCP guide for deploying containers on Windows currently requires RDP and manual docker commands which is not ideal. If this isn't a feature you are likely to implement then I might be able to make a PR for it with some guidance.

pjh commented 6 years ago

@madmod I spent a little time on a Windows konlet port last year. I ended up with a mostly-working proof-of-concept but didn't take it any further. You can check out my work at https://github.com/pjh/konlet/tree/cross-compile-windows.

I doubt that my changes/hacks in the konlet Go code will be useful, especially since that branch is way behind upstream now, but the scripts that I added (in the powershell/ directory) for starting the konlet container as a Windows scheduled task might have some value.

I can't comment on the plans for adding this feature in GCE.