Enable Hyper-V & Containers and Install Docker on Window Servers
Steps for enabling necessary features and installing necessary packages for deploying docker and containers on Windows Server 2016
Step 1: Install and Import Docker Package Provider
Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force
Install-Module DockerMSFTProvider
Import-Module -Name DockerMSFTProvider -Force
Import-Packageprovider -Name DockerMSFTProvider -Force
PS C:\> Find-Package docker
################################
# Expected Output
################################
Name Version Source Summary
---- ------- ------ -------
Docker 18.09.5 DockerDefault Contains Docker EE for use with Windows Server.
Docker 1.3.2 PSGallery This module helps with development using Doc...
Step 2 (VM Only) : Enable Nested Virtualization
For Windows-VM:
For Xen-Server
Step 3: Enable Hyper-V and Container Windows Features
Step 4: Install Docker
Last updated
Was this helpful?