2017-07-07 43 views
2

我想使用下面的命令在我的WIndows 2016服务器上安装windowsServercore图像。无法安装windowsServerCore容器图像

Install-containerImage WindowsServerCore 

运行它时得到低于错误消息。

Install-ContainerOSImage : The term 'Install-ContainerOSImage' is not recognized as the name of a cmdlet, function, 
script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. 

发现有一个变通的文章

https://social.msdn.microsoft.com/Forums/en-US/fc571caf-af13-45ed-a021-cfcfcf532645/the-term-installcontainerosimage-is-not-recognized-as-the-name-of-a-cmdlet-on-build-build-14385?forum=windowscontainers

而来自新项目执行上面的命令,让不同的错误信息。

docker load -i nanoserver.tar.gz 

58684737b3d1: Loading layer [==================================================>] 358.4 MB/358.4 MB 
re-exec error: exit status 1: output: ProcessBaseLayer C:\ProgramData\docker\windowsfilter\dc41572502daedc9c628b56d1f369 
ee804e901159b053d5e082e31e339ae822d: A required certificate is not within its validity period when verifying against the 
current system clock or the timestamp in the signed file. 

我的系统时间是正确的,我在AWS上运行Windows 2016服务器。

任何帮助解决这个问题表示赞赏。

+0

你从哪里得到该cmdlet,哪些是你想做?为什么不使用普通的'docker'命令。 –

回答

1

可以使用波纹管命令将图像拉你的码头工人的主机是Windows服务器2016年

搬运工拉微软/ windowsservercore