In this bloggpost I would like to explain how to set up a Docker Server (based on a Windows operating system). I've been researching this because I'm currently working on a project where I'm going to try to port a web application into a container.

To set up the test environment I decided to use the following product "Oracle Virtual Box".

So let's start to set this up...

Open your Virtual Box and create a new VM:

Machine -> New...

After this wizard-driven creation process, the created VM must be modified so that virtualisation technologies can be run on it.

This is only possible via a CLI (PowerShell / CMD).

cd 'C:\Program Files\Oracle\VirtualBox\'
.\VBoxManage.exe modifyvm "Docker Test Server" --nested-hw-virt on

Setting up the Server:

Setting up the Login (first boot)....

Checking the Configuration by using "sconfig"...

Setting up Docker...

Install-Module -Name DockerMsftProvider -Repository PSGallery -Force
Install-Package -Name docker -ProviderName DockerMsftProviderInstall

Restarting VM...

Restart-Computer -Force

Checking docker...

docker version


How to Install a Windows Server Container Host
In this blog post, I want to quickly guide you through how you can install a Windows Server Container Host running Docker. This guide will help you set up, install, and run Windows Containers on Windows Server. In my example, I will install a container host on a Windows Server, version 2004, which i…

Run a container with a gMSA
How to run a Windows container with a Group Managed Service Account (gMSA).
Build and run your first Docker Windows Server container
How To Set Up an IIS Web Site on Windows Server Containers -- Microsoft Certified Professional Magazine Online
Adam walks you through the process of setting up Windows containers and using them to run an IIS application.