Chapter 7: Moving from Linux to Windows Containers

In this chapter, we will discuss and take a look at Windows containers. Microsoft has embraced containers as a way of deploying older applications on new hardware. Unlike Linux containers, Windows containers are only available on Windows-based Docker hosts.

We will be covering the following topics:

  • An introduction to Windows containers
  • Setting up your Docker host for Windows containers
  • Running Windows containers
  • A Windows container Dockerfile
  • Windows containers and Docker Compose

Technical requirements

In this chapter, the containers we will be launching will only work on a Windows Docker host. We will be using VirtualBox and Vagrant on macOS- and Linux-based machines to assist in getting ...

Get Mastering Docker - Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.