From the course: Windows Server 2019: Deploying Containers

Unlock the full course today

Join today to access over 24,900 courses taught by industry experts.

Run Linux containers in Windows

Run Linux containers in Windows

- [Man] We're using our Windows Server 2019 container host where we enabled Hyper-V containers, and it's time to run some Linux containers in Windows. Now, we've already done this once in our test when we enable Hyper-V containers by running BusyBox Linux. Now, it's time to run a few, maybe larger Linux containers. So let's first do a docker pull, and let's pull down Ubuntu. And then let's do a docker pull, and pull down Nginx, the most popular Linux-based web server. All right, we'll do a docker image ls, and now we have Ubuntu Linux and Nginx, so let's clear the screen, and first, let's do a docker run minus it, and let's run Ubuntu Linux, and we're presented a root prompt, root @, and then that's the container ID right there. So, thanks to Hyper-V containers that we enabled, and the Linux containers on Windows feature that we enabled, we're able to run Ubuntu Linux in Windows, and really the possibilities are, you know,…

Contents