You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BuildKit has experimental support for Windows containers (WCOW) as of version 0.13.
118
+
This section walks you through the steps for trying it out.
119
+
We appreciate any feedback you submit by [opening an issue here](https://github.com/moby/buildkit/issues/new), especially `buildkitd.exe`.
120
+
121
+
### Known limitations
122
+
123
+
- BuildKit on Windows currently only supports the `containerd` worker.
124
+
Support for non-OCI workers is tracked in [moby/buildkit#4836](https://github.com/moby/buildkit/issues/4836).
125
+
126
+
### Prerequisites
127
+
128
+
- Architecture: `amd64`, `arm64` (binaries available but not officially tested yet).
129
+
- Supported OS: Windows Server 2019, Windows Server 2022, Windows 11.
130
+
- Base images: `ServerCore:ltsc2019`, `ServerCore:ltsc2022`, `NanoServer:ltsc2022`.
131
+
See the [compatibility map here](https://learn.microsoft.com/en-us/virtualization/windowscontainers/deploy-containers/version-compatibility?tabs=windows-server-2019%2Cwindows-11#windows-server-host-os-compatibility).
132
+
- Docker Desktop version 4.29 or later
133
+
134
+
### Steps
135
+
136
+
> **Note**
137
+
>
138
+
> The following commands require administrator (elevated) privileges in a PowerShell terminal.
139
+
140
+
1. Enable the **Hyper-V** and **Containers** Windows features.
If you see `RestartNeeded` as `True`, restart your machine and re-open a PowerShell terminal as an administrator.
147
+
Otherwise, continue with the next step.
148
+
149
+
2. Switch to Windows containers in Docker Desktop.
150
+
151
+
Select the Docker icon in the taskbar, and then **Switch to Windows containers...**.
152
+
153
+
3. Install containerd version 1.7.7 or later following the setup instructions [here](https://github.com/containerd/containerd/blob/main/docs/getting-started.md#installing-containerd-on-windows).
154
+
155
+
4. Download and extract the latest BuildKit release.
156
+
157
+
```powershell
158
+
$version = "v0.13.1" # specify the release version, v0.13+
0 commit comments