From f64b48e666dd28a11a78f651e99c9764f9dce027 Mon Sep 17 00:00:00 2001 From: Anthony Nandaa Date: Wed, 6 Mar 2024 21:23:10 +0300 Subject: [PATCH] fix(docs): add the containers feature enabling step By default, a fresh Windows installation does not come with `containers` feature enabled since not all users usually need the feature. It is therefore provided as a _feature on demand (FoD)_. This commit introduces the one-step powershell command that enables this feature. This is necessary for anything to run successfully. Signed-off-by: Anthony Nandaa (cherry picked from commit 4e61d381c1f30d0eacd22ea7ed6a5a073a5409f1) --- docs/windows.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/windows.md b/docs/windows.md index 9f8e69a9b85e..f05730ccf26b 100644 --- a/docs/windows.md +++ b/docs/windows.md @@ -31,6 +31,14 @@ We will apprecate any feedback by [opening an issue here](https://github.com/mob > **NOTE:** all these requires running as admin (elevated) on a PowerShell terminal. +Make sure that `Containers` feature is enabled. (_`Microsoft-Hyper-V` is a bonus but not necessarily needed for our current guide. Also it's depended on your virtualization platform setup._) Run: + +```powershell +Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V, Containers -All +``` + +You will be asked to restart your machine, do so, and then continue with the rest of the steps. No other restart needed. + 1. Setup `containerd` by following [the setup instructions here](https://github.com/containerd/containerd/blob/main/docs/getting-started.md#installing-containerd-on-windows). (_Currently, we only support the `containerd` worker_.) 1. Start the `containerd` service, if not yet started. 1. Download and extract: