Windows Docker
Question ID: 108496

Can anyone tell me how to install Docker on a Windows Platform.

Marked as spam
Posted by (Questions: 23, Answers: 4)
Asked on July 16, 2018 5:54 pm
Answers (1)
Private answer

Open a Power Shell as an administrator and execute the following commands to download and install Docker:

Install-Module -Name DockerMsftProvider -Repository PSGallery -Force
Install-Package -Name docker -ProviderName DockerMsftProvider

A Windows restart is necessary after the above. Run the following command:

PS C:Windowssystem32>Restart-Computer -Force

The restart will invoke the Windows Updater. Expect a short delay on the reboot.

Test that docker is able to run. Docker service must be set to Automatic and be running.

PS C:Windowssystem32>docker run --rm microsoft/dotnet-samples

You should see a text representation of the Docker Logo. If it displays, all is well.

Marked as spam
Posted by (Questions: 4, Answers: 41)
Answered on July 16, 2018 5:55 pm

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

Scroll to Top