Docker on Windows Server 2016 tech preview 3

First thing is to install Windows 2016 – I started in a VM, but I'm rapidly thinking i might try it on my notebook – Windows 10 is getting old already 🙂

Then goto https://msdn.microsoft.com/virtualization/windowscontainers/quick_start/inplace_setup . Note that the powershell script will download another 3GB.

Docker on Windows Server 2016 tech preview 3

And now – you can run docker info from either cmd.exe, or powershell.

There's only a limited set of images you can download from Microsoft – docker search seems to always reply with the same set:

$1

I downloaded two, and this shows's they're re-using the windowsservercore image as their common base image:

$1

And so the fun begins.

$1

gives you a containerized shell.

Lets try to build an image that has the chocolatey installer:

$1

and then use that image to install…. vim

$1

It works!

$1

and then run

$1

Its not currently usable, I suspect because the ANSI terminal driver is really really new code – but BOOM!

I haven't worked out how to get the Dockerfile

$1

or

$1

to work with paths that have spaces – it doesn't seem to support the array form yet…

I'm going to keep playing, and put the Dockerfiles into https://github.com/SvenDowideit/WindowsDocker

Don't forget to read the documentation at https://msdn.microsoft.com/en-us/virtualization/windowscontainers/containers_welcome