簡體   English   中英

無法安裝WindowsServerCore Container Image

[英]Unable to install windowsServerCore Container Image

我正在嘗試使用以下命令在我的WIndows 2016服務器上安裝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的上建造-構建- 14385?=論壇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服務器。

任何有助於解決此問題的幫助表示贊賞。

您可以使用bellow命令將映像拉到Docker主機,即Windows Server 2016:

docker pull microsoft / windowsservercore

使用以下命令:

docker run -t -i mcr.microsoft.com/windows/nanoserver:1809

這將從官方Microsoft DockerHub存儲庫加載Nano Server:

https://hub.docker.com/_/microsoft-windows-nanoserver

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM