From cbcd50c56a92e360bd34b903f63632853de19e67 Mon Sep 17 00:00:00 2001 From: Stefan Scherer Date: Tue, 10 Sep 2019 17:54:13 +0200 Subject: [PATCH] Fix hello-world for Windows Server 2016 Signed-off-by: Stefan Scherer --- install/windows/docker-ee.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/install/windows/docker-ee.md b/install/windows/docker-ee.md index 9f8a7fcf99..51911c3046 100644 --- a/install/windows/docker-ee.md +++ b/install/windows/docker-ee.md @@ -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: