Docker on Windows Server: how will it work?

Mark Russinovich
Azure CTO Mark Russinovich speaking at TechEd Europe

When Microsoft and Docker first announced that the next version of Windows Server would support the increasingly popular containerisation technology, there wasn't a lot of technical detail about what it will take to make that work, with questions raised about how native Docker could really be.

"The Docker engine for Windows Server will have effective feature parity with the Linux side," Docker vice president David Messsina told us. "There will be no difference in using a container, other than the OS inside the container. The APIs and everything else application developers need to rely on will be the same."

But on Linux, the Docker engine (that runs the containers and is separate from the Docker client you use to manage them) uses kernel features like namespaces and C groups. Will Windows Server have that, along with a registry, service hosting and Access Control Lists for each container?

"We'll do all that," Azure CTO Mark Russinovich confirmed to TechRadar Pro at TechEd Europe, "there wouldn't be much point if we didn't." The more interesting question is how this fits in with the Windows Server application model, and how it can take advantage of some types of virtualisation Microsoft has already put into its operating system for backwards compatibility.

Different approach

Docker containers take a very different approach from putting an entire OS and one or more applications in a virtual machine, and running that as a single system that might or might not communicate with other virtual machines across a virtual network.

Docker is about building a workload up from microservices, with one service per container. "Those containers can be distributed," Messina explained, "there can be multiple copies of each of those services distributed across the environment." Docker is about splitting things up into containers and then plugging them together like Lego blocks to make the system you need.

But how does that fit with Windows Server? "One of the key questions is how far we can take app compatibility with this," Russinovich pointed out. "When you look at the Windows app ecosystem it's very complex, and the applications are very complex in terms of their dependencies and the different services the server makes available to them. We're figuring out which services can be virtualised and which need to be virtualised so we can present that per container view of services. The easiest apps to handle are fully isolated, so they're not taking advantage of Windows Service Control Manager services."

Each to their own

Each container is going to need its own Registry as well, so applications can write into it, but that's something that has been in Windows for several years, as part of the move to stop users having to log in as administrators to install desktop applications.

"What we're doing there is more sophisticated but we're leveraging the file system virtualisation and registry virtualisation we've done, as well as network virtualisation." Getting the way services are virtualised right is the key to bringing Docker to Windows, Russinovich explained, and namespaces are part of making that work.

"There are some things that are unique when it comes to these containers. The virtualisation you typically see on Windows is all one level, but the Docker model is stacked virtualisation." That means that one Docker image might be just a reference to another image, plus some extra code.

"You start with a base image that's a virtual file system, then you layer on top another image with its own virtual file system and that composes on top [of the first image]. You can compose a number of these different layers together – that's the value of Docker packing format.

TOPICS
Contributor

Mary (Twitter, Google+, website) started her career at Future Publishing, saw the AOL meltdown first hand the first time around when she ran the AOL UK computing channel, and she's been a freelance tech writer for over a decade. She's used every version of Windows and Office released, and every smartphone too, but she's still looking for the perfect tablet. Yes, she really does have USB earrings.

Latest in Software & Services
woman listening to computer
AWS vs Azure: choosing the right platform to maximize your company's investment
A person at a desktop computer working on spreadsheet tables.
Trello vs Jira: which project management solution is best for you?
Autonomous finance
Quickbooks vs Quicken: what are the main strengths and weaknesses for your business
finance
Quickbooks vs Xero: which is the best for your business?
Group of people meeting
Zoom vs Google Meet: which is the best video conferencing tool for your business?
Fingers typing on a computer keyboard.
Microsoft 365 Personal vs Microsoft 365 Family: are there any real differences?
Latest in News
Google Pixel 8a in aloe green showing
Google Pixel 9a benchmark link teases the performance of the upcoming mid-ranger
Quordle on a smartphone held in a hand
Quordle hints and answers for Monday, March 17 (game #1148)
NYT Strands homescreen on a mobile phone screen, on a light blue background
NYT Strands hints and answers for Monday, March 17 (game #379)
NYT Connections homescreen on a phone, on a purple background
NYT Connections hints and answers for Monday, March 17 (game #645)
Apple iPhone 16 Pro HANDS ON
Leaked iPhone 17 dummy units may have given us our best look yet at all four models
A super close up image of the Google Gemini app in the Play Store
It's official: Google Assistant will be retired for phones this year, with Gemini taking over