Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install Docker on windows 2016 server #78

Open
sandhyarme opened this issue Oct 30, 2020 · 2 comments
Open

Unable to install Docker on windows 2016 server #78

sandhyarme opened this issue Oct 30, 2020 · 2 comments

Comments

@sandhyarme
Copy link

Hi All,

We were planning to install docker on windows 2016 by following below steps -

#Install Docker Provider
Install-Module -Name DockerMsftProvider -Force
#Install Docker from docker Provider
Install-Package -Name docker -ProviderName DockerMsftProvider -Force
Restart-Computer -Force

But while docker provider we are facing error with package provider, so have tried to install package provider

Install-Module -Name DockerMsftProvider -Force
Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force
facing same error as in attached screenshot.

Please suggest us to overcome with the above.
image (1)

@LtLoLz
Copy link

LtLoLz commented Nov 4, 2020

From what I gathered across a few webpages and stackoverflow, this is due to deprecation of TLS 1.0 and TLS 1.1 on Windows server 2016.
These commands worked for me.

[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12
Register-PSRepository -Default -Verbose
Set-PSRepository -Name "PSGallery" -InstallationPolicy Trusted

After this I could install NuGet and DockerMsftProvider module.

edwinmsarmiento added a commit to edwinmsarmiento/sqlondockerbook that referenced this issue Nov 7, 2020
@slonopotamus
Copy link

You might want to take a look at Stevedore project as a way to install modern Docker for Windows containers on both Windows Server/Client.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants