Setup Docker on Windows Server 2016
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
Install 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:
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 ?
- Windows Server Containers ? Quick Start
- Windows Server 2016 Technology Preview 5
- Docker Documentation
- Getting Started with Docker for Java developers
Reference: | Setup Docker on Windows Server 2016 from our JCG partner Arun Gupta at the Miles to go 2.0 ? blog. |