win2016安装docker踩坑记录
1.Install-Module -Name DockerMsftProvider -Repository PSGallery -Force
提示安装NuGet,一直无法安装。原因如下:
--------------------------------------------------------------------------------------------------
It turns out that this is a TLS issue, PowerShell does not use TLS 1.2 by default, while Microsoft requires TLS 1.2 from clients. To set TLS
解决方法:[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls
12
--------------------------------------------------------------------------------------------------
问题解决