2017-07-07 42 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