Fix hello-world for Windows Server 2016

Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
This commit is contained in:
Stefan Scherer 2019-09-10 17:54:13 +02:00
parent db3216cf1a
commit cbcd50c56a
No known key found for this signature in database
GPG Key ID: 505AF50C5D02E697
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: