From the course: Docker for Windows

Unlock the full course today

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

Running Windows and Linux containers

Running Windows and Linux containers - Docker Tutorial

From the course: Docker for Windows

Start my 1-month free trial

Running Windows and Linux containers

- [Instructor] Docker for Windows allows you to run both Linux and Windows containers, but not at the same time, and this is important to understand. If we go down to the Docker icon and right click on Docker, you can see the option here where it says switch to Windows containers. What that tells you is, by default, Docker can only run Linux containers. So right now we can run Linux containers, but if we want to be able to run Windows containers, we have to click this option right here. Before we do so, let me show you how this works. If we go to start, and we go into Hyper-V Manager, what Docker did when it was installed, is to create this MobyLinux virtual machine. You can see the MobyLinuxVM is running, it has two gigabytes of memory assigned to it, and I'll tell you, I'll let you in on a little secret, every container you run in Docker for Windows is actually run inside this MobyLinux virtual machine. So every container you download, every container you run, they're all inside…

Contents