Included a step to verify if Windows needs a restart (#5920)

This commit is contained in:
Paulo Marques 2018-04-11 10:54:41 -07:00 committed by Gwendolynne Barr
parent 95bf032283
commit 5cefff6be0
1 changed files with 12 additions and 1 deletions

View File

@ -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