From the course: Windows Server 2019: Deploying Containers

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Run your first container in Windows

Run your first container in Windows - Windows Server Tutorial

From the course: Windows Server 2019: Deploying Containers

Start my 1-month free trial

Run your first container in Windows

- [Instructor] With Docker installed on this Windows Server 2019 host, it's time to run our first container. And the traditional almost required first container that everyone runs is Hello World. So let's do a docker run hello-world. And what it did is just download the tiny hello world image. Actually the client contacted the Docker daemon. The Docker daemon pulled down the Hello World image from the Docker hub. Then the Docker daemon created a new container from that image that ran the executable with the results that you see here on the screen. We're also given some more suggestions here. It suggests that we run docker run with the -it for interactive terminal and then execute the mcr.microsoft.com/windows/servercore image with the powershell command. And there's a few things that you need to know about Windows containers and Microsoft Windows versions, and let's go over briefly to the Microsoft website because they have a very nice chart that details how this works. Here at…

Contents