Installing Containers and Docker on Windows Server 2016

With Windows Server 2016, Microsoft introduces the new feature called Windows Containers. Containers wrap software up within in a complete file system that contains everything it needs to run: code, runtime, system tools and system libraries. This guarantees that it will always run the same, regardless of the environment it is running within.

In October 2014, Microsoft Corp and Docker announced a strategic partnership to bring the agility, portability, and security benefits of the Docker platform to Windows Server.

Installing Windows Containers feature:

Let’s start by installing the Windows Containers feature on the container host:

Installing Docker

Now, you can deploy Docker from the PowerShell Gallery. First, install the provider:

Next, install Docker:

Once installed, the service can be started:

After this step, you should be able to work with Docker on your machine. You can type docker info to check that all is good.

Done! Docker is installed on your Windows Server 2016.


Thanks for reading! You can follow me on Twitter @PrigentNico

About Nicolas 270 Articles
I work as an IT Production Manager, based in Paris (France) with a primary focus on Microsoft technologies. I have 10 years experience in administering Windows Servers. . I am a Microsoft MVP for Cloud & Datacenter Management. I also received the PowerShell Hero 2016 award by PowerShell.0rg. And finally, I am "MCSE: Cloud Platform and Infrastructure", "MCSA: Windows Servers", "Administering & Deploying SCCM", and CheckPoint CCSA certified.