Install Docker on Windows
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
- You should download the required version of docker from URL
- Once downloaded extract the files (3 exe's will get extracted)
- Save the offline docker installation file as
offline-windows-docker.ps1
-
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
-
Restart of the machine will be performed automatically after script execution
- Open the powershell as Administrator.
- Execute
.\offline-windows-docker.ps1