This multi-part blog series will show how to configure, build, and run Docker containers on Windows. The first part showed how to setup Windows Server 2016 on Virtual Box for Docker Containers. This part will install the operating system images and configure Docker. Instructions are available at

How to Install Docker in Windows Server 2016 Container Feature

Start PowerShell:

Install the container feature:

Restart the Virtual Machine:

Install Windows Server 2016 Base Docker Image

Base operating system can be installed using ContainerImage PowerShell module. Install the module as:

See the list of operating system images that are available:

Install the Windows Server Core base OS image:
windows-2016-docker-6 windows-2016-docker-7

Install Docker on Windows Server 2016

Download the script to install Docker:

Run the script:

Check Docker version:

Check the list of images and tag the base OS image to latest:
Check docker --help command:

Subsequent blogs will show how other fun things with Docker on Windows Server 2016!

Some further topics to read …


Posted by Arun Gupta, VP, Developer Advocacy, Couchbase

Arun Gupta is the vice president of developer advocacy at Couchbase. He has built and led developer communities for 10+ years at Sun, Oracle, and Red Hat. He has deep expertise in leading cross-functional teams to develop and execute strategy, planning and execution of content, marketing campaigns, and programs. Prior to that he led engineering teams at Sun and is a founding member of the Java EE team. Gupta has authored more than 2,000 blog posts on technology. He has extensive speaking experience in more than 40 countries on myriad topics and is a JavaOne Rock Star for three years in a row. Gupta also founded the Devoxx4Kids chapter in the US and continues to promote technology education among children. An author of several books on technology, an avid runner, a globe trotter, a Java Champion, a JUG leader, NetBeans Dream Team member, and a Docker Captain, he is easily accessible at @arungupta.


  1. Share with you a good site that you can get cheap product keys from there: VANSKEYS, all versions of office keys and office keys can be found in that site.

  2. Hi Arungupta,

    Good day.

    This is regarding docker and i am following your “Docker and Eclipse”
    Its really beautiful clip.
    I would need your guidance on accessing docker images and containers on Windows server 2016 (standard edition).
    I have installed Docker on windows 2016, but not able to see any docker-machine cmd.

    It would be really great if you can help on this. Thanks in advance.

    Sanjeev Kumar N

  3. Just wanted to let you know that the command Install-PackageProvider ContainerImage -Force results in an error. Unable to download list of available providers… If you have alternative instructions, that would be helpful.

  4. It turns out, I needed to run the following commands before it would allow me to follow your instructions:

    [Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12
    Register-PSRepository -Default -Verbose
    Set-PSRepository -Name "PSGallery" -InstallationPolicy Trusted

Leave a reply