How to Install Windows Containers on Windows Server insider

With the release of Windows Server Insider latest build, today I’ll show you how I install Windows Containers on Windows Server 2016 Insider build.

Windows Containers In its latest release allows us to run the new Windows Nano Server 2016 Container only image and map SMB shares directory from the container.

After the installation, this Server will become a Windows Container host.

To get started, I’ve downloaded the latest Windows Server Insider build and I’ve set it up as a VM.

Note: In order to run Windows Containers on a Hyper-V machine you will to enable Nested Virtualization on the VM to do so run the cmdlet below on the host and make sure you don’t enable dynamic RAM memory.

Set-VMProcessor -VMName 2016rtm -ExposeVirtualizationExtensions $true
Get-VMNetworkAdapter -VMName 2016rtm | Set-VMNetworkAdapter -MacAddressSpoofing On

Next, I’ll download the docker engine using PowerShell from the PowerShell Gallery.

Install-Module -Name DockerMsftProviderInsider -Repository PSGallery -Force

Next, I’ll Install it using

Install-Package -Name docker -ProviderName DockerMsftProviderInsider -RequiredVersion 17.06.0-ce

When done, I’ll restart the server.

Restart-Computer -Force

After the server restarts, I log in to it and check that the docker service Is running

Get-service docker

To check docker version I run

Docker version

1 comment

Leave a comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.