Skip to content

Install Docker on Windows

Note: On older Windows versions (such as Windows 7, 8, Server 2008, 2012, and some early builds of Windows 10/Server 2016), PowerShell may default to using outdated TLS protocols (TLS 1.0 or 1.1), which are not supported by many secure servers.

To ensure compatibility during the Docker installation, run the following command in an elevated PowerShell window (Run as Administrator):

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


Installation with Internet Access

  • Save the online docker installation file as online-windows-docker.ps1
  • Open the PowerShell as Administrator
  • Execute .\online-windows-docker.ps1

Installation without Internet Access

Note: Restart of the system will be required for offline installation

Step 1: Download Docker

You should download the required version of docker from URL

Step 2: Extract Files

Once downloaded extract the files (3 exe's will get extracted)

Step 3: Save Installation Script

Save the offline docker installation file as offline-windows-docker.ps1

Step 4: Update Script Parameters

Update the lines in script for below parameters to point to correct .exe files for docker and dockerd:

  • $DockerPath = "C:\Path\To\Local\Docker\docker.exe"
  • $DockerDPath = "C:\Path\To\Local\Docker\dockerd.exe"

Note: Script is modified to check for exact location of docker exe's and not go online

Step 5: Restart Machine

Restart of the machine will be performed automatically after script execution

Step 6: Execute Installation Script

  • Open the PowerShell as Administrator
  • Execute .\offline-windows-docker.ps1