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 msdn.microsoft.com/virtualization/windowscontainers/deployment/deployment.

Install Windows Server 2016 Container Feature

Start PowerShell:
windows-2016-docker-1

Install the container feature:
windows-2016-docker-2

Restart the Virtual Machine:
windows-2016-docker-3

Install Windows Server 2016 Base Docker Image

Base operating system can be installed using ContainerImage PowerShell module. Install the module as:windows-2016-docker-4

See the list of operating system images that are available:
windows-2016-docker-5

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

Install Docker on Windows Server 2016

Download the script to install Docker:windows-2016-docker-8

Run the script:
windows-2106-docker-9

Check Docker version:windows-2016-docker-11

Check the list of images and tag the base OS image to latest:windows-2106-docker-10

Check docker --help command:
windows-2016-docker-12

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

Some further topics to read …

Source: blog.couchbase.com/2016/april/setup-docker-windows-server-2016

Setup Docker on Windows Server 2016

| Java Language| 424 views | 0 Comments
About The Author
- Arun Gupta is the vice president of developer advocacy at Couchbase. He has been building 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. Gupta also founded the Devoxx4Kids chapter in the US and continues to promote technology education among children. An author of a best-selling book, an avid runner, a globe trotter, a Java Champion, and a JUG leader, he is easily accessible at @arungupta.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>