Windows Server 2016 using VirtualBox for Docker Containers

Windows Server 2016 is adding support for Docker containers. Technology Preview 5 was recently released and provides basic support for Docker. This multi-part blog series will show how to configure, build, and run Docker containers on Windows.

The first part shows how to install Windows Server 2016 using VirtualBox. A couple of tweaks are required in order to make sure Docker containers can be started later on, so read on!

Download Windows Server 2016

Download Windows Server 2016 Technology Preview 5 from microsoft.com/en-us/evalcenter/evaluate-windows-server-technical-preview.

Download the ISO and install it using VirtualBox.

Windows Server 2016 Virtual Box Configuration

Switch to Expert Mode as some of the default configuration settings need to be updated.

Here are the screenshots of configuration.

Change memory to ~8GB.
windows-2016-install-1

Change disk space to 40GB. Default of 20 GB will not work for installing containers later.windows-2016-install-2

Create a new virtual drive from the downloaded ISO:
windows-2016-install-3

Windows Server 2016 Configuration

Select the defaults:
windows-2016-install-4

Click on “Install Now” to start the install:
windows-2016-install-5

Enter the product key as specified in “Preinstall Information” section at microsoft.com/en-us/evalcenter/evaluate-windows-server-technical-previewwindows-2016-install-6

Select the Desktop version, otherwise just a command shell is started:windows-2016-install-7

Accept the license:
windows-2016-install-8

Choose “Custom” installation. “Upgrade” was getting stuck in an infinite loop:windows-2016-install-9

Take defaults:
windows-2016-install-10

Click on “Next” to start installation:
windows-2016-install-11

Create an administrator account:windows-2016-install-12

Click on Finish to come to the welcome screen:
windows-2016-install-13

Windows Server 2016 Login/Welcome

Use VirtualBox Input -> Keyboard menu to send Ctrl+Alt+Del to Windows to get the login screen:
windows-2016-install-14

Enter your password to see the opening screen:
windows-2016-install-15

As of this writing, it is in Technology Preview 5 and so the functionality and experience will evolve.

Stay tuned for subsequent blogs to actually configure, build and run Docker containers.

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

Be Sociable, Share!

Leave a Reply

Your email address will not be published. Required fields are marked *