Merge pull request #9421 from StefanScherer/fix-hello-world-win2016

Fix hello-world for Windows Server 2016
This commit is contained in:
Dawn W 2019-09-10 10:47:02 -07:00 committed by GitHub
commit 7c4bfd7389
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 0 deletions

View File

@ -60,9 +60,21 @@ To install the Docker Engine - Enterprise on your hosts, Docker provides a
3. Test your Docker Engine - Enterprise installation by running the
`hello-world` container.
**Windows Server 2019**
```powershell
docker run hello-world:nanoserver
```
**Windows Server 2016**
```powershell
docker run hello-world:nanoserver-sac2016
```
The container starts, prints the hello message, and then exits.
```
Unable to find image 'hello-world:nanoserver' locally
nanoserver: Pulling from library/hello-world
bce2fbc256ea: Pull complete
@ -187,10 +199,18 @@ manually, via a script, or on air-gapped systems.
3. Test your Docker EE installation by running the `hello-world` container.
**Windows Server 2019**
```powershell
docker container run hello-world:nanoserver
```
**Windows Server 2016**
```powershell
docker container run hello-world:nanoserver-sac2016
```
## Install a specific version
To install a specific version, use the `RequiredVersion` flag: