# How to Install Docker On Windows Server 2016/2019/2022 Quickly - AliTech
Free Quote

Find us on SAP Ariba

Please Leave a Review

AliTech Solutions

Blog

Aerial view of cargo ship and cargo container in harbor.

How to Install Docker On Windows Server 2016/2019/2022 Quickly

How to Install Docker On Windows Server 2016/2019/2022 Quickly

Table of Contents

  1. Run Powershell ISE
  2. Install the NuGet package
  3. Install the DockerMsftProvider module in PowerShell
  4. Install Docker
  5. Restart Server 2016/2019/2022

1. Run Powershell ISE

Open your Powershell ISE in Run as administrator mode. Run the command:

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

2. Install the NuGet package
Now install the NuGet package using the below command:
Install-PackageProvider -Name NuGet

3. Install the DockerMsftProvider module in PowerShell

Now install the DockerMsftProvider module in PowerShell. Use the below command to do so:

 Install-Module -Name DockerMsftProvider


4. Install Docker

Install Docker Using below command:
Install-package -name docker -providername DockerMsftProvider -Verbose -Force


5. Restart Windows Server 2016/2019/2022

Restart windows server using below command in PowerShell:
 Restart-Computer


Refrences:

https://dev.to/darksmile92/powershell-disabled-support-for-tls-1-0-for-the-gallery-update-module-and-install-module-broken-1oii

https://dev.to/darksmile92/powershell-disabled-support-for-tls-1-0-for-the-gallery-update-module-and-install-module-broken-1oii

https://alitech.io/index.php/2022/03/04/cyberpanel-docker-integration/

https://www.hostingbyalitech.com/en/blog/post/solved-fixed-kubernetes-docker-could-not-create-directory-wordpress

Leave a Comment

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