我想在安装了Windows Server 2016的物理机器上安装Docker。 (使用pipe理帐户,不是来宾或普通用户帐户)
所以我尝试了这个指导方针 。
但第二个命令失败,出现以下错误:
命令:powershell.exe -noprofile -ExecutionPolicy绕过C: Install-ContainerHost.ps1 -HyperV
在系统启动时启动应用程序,无需login
有人试图进入我的服务器?
在Windows上安装gem美洲豹错误
从服务器,文件夹备份到FTP并传递问题
当我在Linux服务器上使用qsub时如何导入argparse?
... Docker is already installed. Installing ContainerImage provider... C:Install-ContainerHost.ps1 : Could not install ContainerImage provider In Line:1 ... + C:Install-ContainerHost.ps1 -HyperV + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Write-Error],WriteErrorException + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-ContainerHost.ps1
编辑/更新:我重新安装了Windows Server 2016.第一次运行的脚本后,我得到这个错误:
... Downloading NSSM... Extracting NSSM for archive... Configuring NSSM for Docker service... Starting Docker... Waiting for Docker daemon... An error occurred trying to connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/version: open //./pipe/docker_engine: Das System kann die angegebene Datei nicht finden. ... An error occurred trying to connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/version: open //./pipe/docker_engine: Das System kann die angegebene Datei nicht finden. C:UsersAdministratorInstall-ContainerHost.ps1 : Docker Daemon did not start successfully within 1 minute. In Zeile:1 Zeichen:1 + C:UsersAdministratorInstall-ContainerHost.ps1 -HyperV + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Write-Error],Install-ContainerHost.ps1
如何在云服务器上设置/configurationlaravel项目
cron工作正在magento网站工作 – 但没有find心跳
Apache基准testingHTTPS问题
Chrome会忽略ETag标头,只是使用内存caching/磁盘caching
debugging502错误的网关错误 – Ubuntu,Nginx,Unicorn
我有同样的确切的问题,以下是如何和固定它。
如果您在系统上运行Get-PSRepository ,则会看到“WARNING:Unable to find module repositories”(警告:无法找到模块存储库)。 在我的Windows 10机器上运行,显示我有一个存储库设置。
我运行以下设置相同的存储库
powershell Register-PSRepository -Name "PSgallery" –SourceLocation "https://www.powershellgallery.com/api/v2/" -InstallationPolicy Trusted
一切工作都很好。
我正在使用Windows server 2016 TP5,但我认为这将解决您的问题。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。