无法提取Windows Server 2019容器映像 [英] Failed to pull Windows Server 2019 container image
问题描述
首先,我真的很高兴使用全新的操作系统,Windows Server 2019!
我试图拉动Windows Server 2019容器图像但是我失败了。 ..我在实验室做了以下步骤。你有什么好主意吗?
环境
- 容器主机:Windows Server 2019数据中心(我从MSDN获得)
- 容器主机在Windows Server 2012 R2 Hyper-V上运行
- 我的实验室有一个代理服务器可以访问Internet
我做了什么
- 在虚拟机上安装Windows Server 2019。
- 设置HTTP_PROXY和环境变量路径。
- 启动Internet Explorer 11并编辑代理参数。
- 运行以下命令命令启用容器角色并安装Docker。并重新启动操作系统。
PS> Install-Module -Name DockerMsftProvider -Repository PSGallery -Force
PS> Install-Package -Name docker -ProviderName DockerMsftProvider
https://docs.microsoft.com/en-us/virtualization/windowscontainers/deploy-containers/deploy-containers-on-server - 运行"docker search"检查我的机器是否可以访问互联网。
C:\Users \Administrator> docker search microsoft
名称说明STARS官方自动化¥b $ b microsoft / dotnet .NET Core和ASP.NET的官方映像... 1184 [确定]
microsoft / mssql-server-linux Microsoft SQL Server的官方映像... 974
microsoft / aspnet ASP.NET是一个开源的服务器端Web ... 778 [OK]
:
(snip)
- 然后,运行docker pull命令但失败了......我该如何与微软握手?
C:\ Users \Administrator> docker pull mcr.microsoft.com/windows/servercore:ltsc2019
ltsc2019:从windows / servercore拉出来
错误拉图像配置:获取https://mcrea0.cdn。 mscr.io/b29889755b1f4e46b6b44eb3182530c5-0joxcrfl25//docker/registry/v2/blobs/sha256/a2/a25dc097c6330ee730842633ca668121169904fe613b0bbd45c588ab35079371/data?P1=1538615279&P2=1&P3=1&P4=iWVVhGO31V2CZ Q4nxDRBQlnliWeRXYIRPLBd%2B%2F4eH%2BE%3D& se = 2018-10-04T01%3A07%3A59Z& sig = oVvL3dGfvqMa3ImfYGDopFGgSqz3kkd7k17ZtI92AAo%3D& sp = r& sr = b& sv =2016-05-31®id= b29889755b1f4e46b6b44eb3182530c5:
远程错误:tls:握手失败
问候,
您可以在此处查看标签列表。您可以在可用时拉微软/ winndowsservercore:ltsc2019。
https://store.docker.com/images/windowsservercore/plans/1e9acba1- c879-49b0-9109-7cfcf820a47a?tab = tags
或者你可以检查mcr中的标签吗?
First of all, I am really happy to use the brand new OS, Windows Server 2019!
I have tried to pull Windows Server 2019 container image but I failed... I did the following steps in my lab. Do you have any good idea?
Environment
- Container host: Windows Server 2019 Datacenter (I have got it from MSDN)
- Container host is running on Windows Server 2012 R2 Hyper-V
- My lab has a proxy server to access to the Internet
What I did
- Install Windows Server 2019 on a virtual machine.
- Set HTTP_PROXY and Path to Environment Variables.
- Start Internet Explorer 11 and edit proxy parameter.
- Run the following command to enable Containers role and install Docker. And restart OS.
PS> Install-Module -Name DockerMsftProvider -Repository PSGallery -Force
PS> Install-Package -Name docker -ProviderName DockerMsftProvider
https://docs.microsoft.com/en-us/virtualization/windowscontainers/deploy-containers/deploy-containers-on-server - Run "docker search" to check if my machine can access to the Internet.
C:\Users\Administrator>docker search microsoft
NAME DESCRIPTION STARS OFFICIAL AUTOMATED
microsoft/dotnet Official images for .NET Core and ASP.NET ... 1184 [OK]
microsoft/mssql-server-linux Official images for Microsoft SQL Server o... 974
microsoft/aspnet ASP.NET is an open source server-side Web ... 778 [OK]
:
(snip)
- Then, run docker pull command but failed... How should I do to shake hands with Microsoft?
C:\Users\Administrator>docker pull mcr.microsoft.com/windows/servercore:ltsc2019
ltsc2019: Pulling from windows/servercore
error pulling image configuration: Get https://mcrea0.cdn.mscr.io/b29889755b1f4e46b6b44eb3182530c5-0joxcrfl25//docker/registry/v2/blobs/sha256/a2/a25dc097c6330ee730842633ca668121169904fe613b0bbd45c588ab35079371/data?P1=1538615279&P2=1&P3=1&P4=iWVVhGO31V2CZQ4nxDRBQlnliWeRXYIRPLBd%2B%2F4eH%2BE%3D&se=2018-10-04T01%3A07%3A59Z&sig=oVvL3dGfvqMa3ImfYGDopFGgSqz3kkd7k17ZtI92AAo%3D&sp=r&sr=b&sv=2016-05-31®id=b29889755b1f4e46b6b44eb3182530c5: remote error: tls: handshake failure
Greetings,
You can check the tag list here. You may pull microsoft/winndowsservercore:ltsc2019 when it is available.
https://store.docker.com/images/windowsservercore/plans/1e9acba1-c879-49b0-9109-7cfcf820a47a?tab=tags
Or can you check the tag in mcr?
这篇关于无法提取Windows Server 2019容器映像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!