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 #28
Comments
Contribution is wanted 😃 |
I took a quick look and it would be doable but would require some work, there are assumption that this would run on linux like (there are probably more): Line 229 in 06f3a7c
Lines 762 to 766 in 435f533
nerdctl/pkg/lockutil/lockutil.go Line 33 in 435f533
|
I got started on this. Will likely want to break this down into many different PRs |
Thanks! |
Got it to build and connect 🚀
Needs some more work to be able to run containers |
I was able to get
Although it is rough, I opened #164 just to show the work involved. I would propose breaking this down into at least two PRs for easier reviewing:
What do you think @AkihiroSuda? |
SGTM, thanks |
I am revisiting this ticket since Rancher Desktop 0.5 just added initial nerdctl support. My understanding is that the latest version of nerdctl doesn't support Windows containers, unless one builds a branch from @jsturtevant from source + installs containerd.exe manually? |
Yes. Help wanted to move #197 forward |
should we close this? I've opened a few other issues to track the next steps in windows support, otherwise this could be used as an epic? |
I think we can keep opening this |
I was wondering what the current status is for Windows support ? Based on below, can I assume this issue can be closed now? Was there anything in particular outstanding? |
https://github.com/containerd/nerdctl/issues?q=is%3Aissue+label%3Aplatform%2FWindows%2FNon-WSL2+is%3Aopen are the outstanding issues. (Same list as #28 (comment), but the label has been renamed since that comment was made.) I have no strong opinion on whether we should keep this issue open or not. This issue does appear to lack clear (unmet) success criteria though. |
We still need to support builds and compose AFAICS. |
#627 exists for building, it is currently blocked on microsoft/Windows-Containers#34 and through to buildkit and related. Once we have buildkitd for WCOW stable, hopefully the integration won't be too far from how it's used on non-Windows. I know approximately nothing about compose, nor the compose support in nerdctl. I don't yet see a ticket for it to work on Windows, so I'm guessing not much time has been spent on that yet, given we're still lacking build support. Are you thinking of a simple installer for nerdctl.exe, or more like the "Full" binary release, bundling the whole (Windows-supported) stack of dependencies with service setup etc? Or perhaps something different? We could recreate something like MS's existing containerd/nerdctl script, perhaps. |
I’m expecting the latter one |
I am looking for a way to use containerd on Windows Server 2019 with a Docker CLI replacement like this one. I see there are Linux builds, but has a Windows port been attempted?
Long story short, containerd for Windows should handle graceful shutdowns for containers, but the current version of Docker is still using HCS v1 + some really broken stuff under the hood, meaning Windows containers have never supported graceful shutdowns (microsoft/Windows-Containers#16).
There is no clear migration path for Docker to adopt containerd on Windows in the short term, so I would be fine with installing containerd on Windows (https://kubernetes.io/docs/setup/production-environment/container-runtimes/#install-containerd) but then I just need a proper CLI on top of it, other than 'ctr' which is very primitive and marked as unsupported/unstable.
I am not familiar with Go, but how difficult would it be to attempt a Windows port of this tool?
The text was updated successfully, but these errors were encountered: