2017-02-22 13 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环境变量,代理信息的值 –

相关问题