2017-02-22 25 views
1

我使用映像Windows_Server-2016-English-Full-Containers-2017.01.11(ami-7a803d1a)在AWS上啓動了新的Windows Server 2016。安裝PS模塊ContainerImage後,我試圖通過運行來啓動NanoServer泊塢窗圖像:AWS實例無法識別Install-ContainerOSImage Windows 2016完整容器

Install-ContainerImage NanoServer 

我得到錯誤:

Install-ContainerOSImage : The term 'Install-ContainerOSImage' is not recognized as the name of a cmdlet, function, script file, or 

可操作的程序。這裏是

Get-Command -Module ContainerImage 
CommandType  Name     Version Source 
-----------  ----     ------- ------ 
Function  Find-ContainerImage 0.6.4.0 ContainerImage 
Function  Install-ContainerImage 0.6.4.0 ContainerImage 
Function  Save-ContainerImage 0.6.4.0 ContainerImage 

Find-ContainerImage回報NanoServerWindowsServerCore 模塊ContainerImage的命令列表如何安裝圖像本地存儲庫? 即使我配置了環境變量HTTP_PROXY和HTTPS_PROXY,我在代理之後,docker pull也不起作用。

回答

1

Install-ContainerOSImage已被刪除。 MS support answer

解決辦法是複製(下載)圖像文件,並使用Docker.exe

+0

代理配置安裝: 要設置泊塢窗搜索和碼頭工人拉代理信息,創建一個名爲HTTP_PROXY或HTTPS_PROXY Windows環境變量,代理信息的值 –

相關問題