From 5cefff6be0a8b3a1e5c841cd039bc72cbd3c8689 Mon Sep 17 00:00:00 2001 From: Paulo Marques Date: Wed, 11 Apr 2018 10:54:41 -0700 Subject: [PATCH] Included a step to verify if Windows needs a restart (#5920) --- install/windows/docker-ee.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/install/windows/docker-ee.md b/install/windows/docker-ee.md index e56d135f8d..d171b2d46c 100644 --- a/install/windows/docker-ee.md +++ b/install/windows/docker-ee.md @@ -48,7 +48,18 @@ full list of prerequisites. Install-Package Docker -ProviderName DockerMsftProvider -Force ``` -2. Test your Docker EE installation by running the `hello-world` container. +2. Check if a reboot is required, and if yes, restart your instance: + + ```PowerShell + (Install-WindowsFeature Containers).RestartNeeded + ``` + If the output of this command is **Yes**, then restart the server with: + + ```PowerShell + Restart-Computer + ``` + +3. Test your Docker EE installation by running the `hello-world` container. ```PowerShell docker container run hello-world:nanoserver