无法拉出Microsoft的Docker容器 [英] Can't pull a microsoft's docker container

查看:87
本文介绍了无法拉出Microsoft的Docker容器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试从微软的容器注册表中提取一个docker容器.

I tried pulling a docker container from microsoft's containers registry.

我从以下位置获得了powershell命令: https://hub.docker.com/_/microsoft-businesscentral

I got the powershell commands from: https://hub.docker.com/_/microsoft-businesscentral

就这些了

$ artifactUrl = Get-BcArtifactUrl-类型沙箱-国家/地区-选择最新

$artifactUrl = Get-BcArtifactUrl -type sandbox -country us -select latest

New-BCContainer -accept_eula -containerName test -artifactUrl $ artifactUrl

New-BCContainer -accept_eula -containerName test -artifactUrl $artifactUrl

这是我收到的错误消息:

This is the error message that I get:

出现错误

有人知道为什么这行不通吗?我已经像2个月前一样做到了,而且没有任何错误.我非常感谢您的帮助,很抱歉,如果这很简单,或者以前已经被问到过,那么我是容器和powershell命令的新手,并且我搜索过类似的问题也没有运气.

Does anyone know why this is not working? I've done this like 2 months ago and I got no errors. I appretiate any help, and sorry if this is simple or was already asked before, I'm new with containers and powershell commands and I searched for similar problems with no luck.

推荐答案

您仍在运行已弃用的NavContainerHelper(

You are still running NavContainerHelper, which has been deprecated (as described here).

您需要切换到BcContainerHelper.

You need to switch to BcContainerHelper.

如上面链接中所述,切换过程如下:

As described in the link above the process for switching is as follows:

  1. 删除所有容器( Get-NavContainers | Remove-NavContainer )
  2. 卸载所有版本的NavContainerHelper(卸载模块NavContainerHelper -allversions )
  3. 重新启动PowerShell,并检查NavContainerHelper是否消失(否则重复步骤2)
  4. 将Docker重置为出厂设置(以删除所有图像)
  5. 删除 c:\ ProgramData \ NavContainerHelper
  6. 安装BcContainerHelper(安装模块BcContainerHelper -force )

这篇关于无法拉出Microsoft的Docker容器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆