为什么我不能简单地在 Azure 中创建一个 Business Central 容器?

Why cant i simply create a Business Central container in Azure?

我正在尝试在 Azure 中创建一个 Business Central 容器并在 powershell 中使用以下内容。

  $imageName = “mcr.microsoft.com/businesscentral:10.0.17763”
  $resourceGroup = “d365rg”
  $location = “EastUS”
  $containerName = “d365bcdemo02”
  $dnsName = “d365bcdemo02.eastus.azurecontainer.io”
  $artifactUrl = Get-BCArtifactUrl -type sandbox -country us -select Latest

  az container create -g $resourceGroup -n $containerName --image $imageName --os-type Windows --cpu 2 
  --memory 16 --ip-address public -e artifactUrl=$artifactUrl ACCEPT_EULA=Y USESSL=N ClickOnce=Y 
  publicDnsName=$dnsName --dns-name-label $containerName --ports 80 7046 7047 7048 7049 8080

但我不断收到错误消息:

  "az : The image 'mcr.microsoft.com/businesscentral:10.0.17763' in container group 'd365bcdemo02' is 
  not accessible. Please check the image and registry credential."

什么凭据,我没有容器注册表,我认为您也不需要。这里会发生什么?

问题是由错误的图片标签引起的。所以解决方案是使用图像中可用的标签。