From c361c516faa4c6f3584940a5f1728c8c00835167 Mon Sep 17 00:00:00 2001 From: Michael Friis Date: Mon, 25 Sep 2017 23:44:56 -0400 Subject: [PATCH] use the docker provider to install docker (#4717) * use the docker provider to install docker * Fix typo --- engine/installation/windows/docker-ee.md | 27 ++++++++++++------------ 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/engine/installation/windows/docker-ee.md b/engine/installation/windows/docker-ee.md index 3abc5e75c0..2a54be6d92 100644 --- a/engine/installation/windows/docker-ee.md +++ b/engine/installation/windows/docker-ee.md @@ -33,22 +33,11 @@ full list of prerequisites. 1. Open a PowerShell command prompt, and type the following commands. ```ps - PS> Install-Module -Name DockerMsftProvider -Force - PS> Unregister-PackageSource -ProviderName DockerMsftProvider -Name DockerDefault -Erroraction Ignore - PS> Register-PackageSource -ProviderName DockerMsftProvider -Name Docker -Location https://download.docker.com/components/engine/windows-server/index.json - PS> Install-Package -Name docker -ProviderName DockerMsftProvider -Source Docker -Force - PS> Restart-Computer -Force + Install-Module DockerProvider -Force + Install-Package Docker -ProviderName DockerProvider -Force ``` -2. Update your Windows configuration. - - ```ps - PS> sconfig - ``` - - Select option `6) Download and Install Updates`. Swarm requires update [KB4015217]( - https://support.microsoft.com/en-us/help/4015217/windows-10-update-kb4015217) -3. Test your Docker EE installation by running the `hello-world` container. +2. Test your Docker EE installation by running the `hello-world` container. ```ps PS> docker container run hello-world:nanoserver @@ -67,6 +56,16 @@ full list of prerequisites. ``` +### (optional) Make sure you have all required updates + +Some advanced Docker features (like Swarm) require that Windows is updated to include the fixes in [KB4015217](https://support.microsoft.com/en-us/help/4015217/windows-10-update-kb4015217) (or a later cumulative patch). + + ```ps + PS> sconfig + ``` + +Select option `6) Download and Install Updates`. + ## Use a script to install Docker EE Use the following steps when you want to install manually, script automated