Consultant and trainer.
Microsoft MVP.
Pluralsight Author.

  Learn Docker in a MoL Learn Docker in a Month of Lunches - the book
  Learn Kubernetes in a MoL Learn Kubernetes in a Month of Lunches - the book
  My Pluralsight Courses
Docker for .NET Apps - 8.5 hours of practical tutorials for 14.99!

Docker on Windows: Second Edition - Fully Updated for Windows Server 2019

The Second Edition of my book Docker on Windows is out now. Every code sample and exercise has been fully rewritten to work on Windows Server 2019, and Windows 10 from update 1809.

Get Docker on Windows: Second Edition now on Amazon

If you're not into books, the source code and Dockerfiles are all available on GitHub: sixeyed/docker-on-windows, with some READMEs which are variably helpful.

Or if you prefer something more interactive and hands-on, check out my Docker on Windows Workshop.

Docker Containers on Windows Server 2019

There are at least six things you can do with Docker on Windows Server 2019 that you couldn't do on Windows Server 2016. The base images are much smaller, ports publish on localhost and volume mounts work logically.

You should be using Windows Server 2019 for Docker

(Unless you're already invested in Windows Server 2016 containers, which are still supported by Docker and Microsoft).

Windows Server 2019 is also the minimum version if you want to run Windows containers in a Kubernetes cluster.

Updated Content

The second edition of Docker on Windows takes you on the same journey as the previous edition, starting with the 101 of Windows containers, through packaging .NET Core and .NET Framework apps with Docker, to transforming monolithic apps into modern distributed architectures. And it takes in security, production readiness and CI/CD on the way.

Some new capabilities are unlocked in the latest release of Windows containers, so there's some great new content to take advantage of that:

The last one is especially important. It helps you understand how to bring cloud-native monitoring approaches to .NET apps, with an architecture like this:

Monitoring apps in Windows containers

If you want to learn more about observability in modern applications, check out my Pluralsight course Monitoring Containerized Application Health with Docker

The Evolution of Windows Containers

It's great to see how much attention Windows containers are getting from Microsoft and Docker. The next big thing is running Windows containers in Kubernetes, which is supported now and available in preview in AKS.

Kubernetes is a whole different learning curve, but it will become increasingly important as more providers support Windows nodes in their Kubernetes offerings. You'll be able to capture your whole application definition in a set of Kube manifests and deploy the same app without any changes on any platform from Docker Enterprise on-prem, to AKS or any other cloud service.

To get there you need to master Docker first, and the latest edition of Docker on Windows helps get you there.

Share this article on