简体   繁体   English

如何将 MarkLogic docker 中心镜像部署到 Azure 容器实例 ACI

[英]How to deploy MarkLogic docker hub image to Azure Container Instance ACI

MarkLogic publishes its DB to Docker Hub . MarkLogic 将其数据库发布到Docker Hub

I would like to explore how to run ML docker hub images on ACI.我想探索如何在 ACI 上运行 ML docker 中心映像。

I try to follow below link to do it.我尝试按照以下链接进行操作。 (It works with that Sample Microsoft aci-helloword image deployment. I assume it should also work for ML.) However I got below error message. (它适用于示例 Microsoft aci-helloword 图像部署。我认为它也适用于 ML。)但是我收到以下错误消息。

{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":[{"code":"InaccessibleImage","message":"The image 'store/marklogicdb/marklogic-server:10.0-8.1-centos-1.0.0-ea2' in container group 'ml-container' is not accessible. Please check the image and registry credential."}]}

创建容器实例详细信息

网络详情

The issue is probably with image type.问题可能与图像类型有关。 It's free, but since you're required to subscribe, it's not private.它是免费的,但由于您需要订阅,所以它不是私人的。 Try with private image type and you'll likely need to authenticate against Docker Hub.尝试使用私有图像类型,您可能需要针对 Docker Hub 进行身份验证。 We have a detailed example at https://github.com/marklogic/marklogic-docker but I'm not sure how you can setup private image access on Azure.我们在https://github.com/marklogic/marklogic-docker有一个详细的示例,但我不确定如何在 Azure 上设置私有图像访问。

I think Azure Container Instances Linux is based on ubuntu and there are some known limitations.我认为 Azure 容器实例 Linux 是基于ubuntu的,并且存在一些已知的限制。 That may be the reason why there are still some compatibility issues of deploying ML docker image to run in ACI.这可能是部署 ML docker 图像在 ACI 中运行仍然存在一些兼容性问题的原因。

It is pretty straightforward and cost-effective to follow the below guide to run ML in Azure. https://www.marklogic.com/resources/deploy-on-azure/按照以下指南在 Azure 中运行 ML 非常简单且具有成本效益。https://www.marklogic.com/resources/deploy-on-azure/

ML regularly update its azure images in the marketplaces. ML 定期更新其在市场上的 azure 图片。 https://azuremarketplace.microsoft.com/en-in/marketplace/apps/marklogic.marklogic-developer-10?tab=Overview As a result, there is no significate benefit of enabling ML to run in ACI. https://azuremarketplace.microsoft.com/en-in/marketplace/apps/marklogic.marklogic-developer-10?tab=Overview因此,让 ML 在 ACI 中运行并没有明显的好处。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Azure Devops Deploy Docker image to ec2 instance - Azure Devops Deploy Docker image to ec2 instance ECS - 容器无法从 Docker Hub 拉取公共镜像 - ECS - Container cannot pull public image from Docker Hub 在 Azure Logic App 中不使用 ACR 用户名和密码获取 ACI 容器镜像? 即使用托管身份 - Get ACI container image without using ACR username and password in Azure Logic App? i.e. using Managed Identity Azure 应用服务无法启动 w/ Azure 容器注册表拉取 - Docker 容器 - 找不到文件 - 与 Docker 集线器一起使用 - Azure App Service Fails to Start w/ Azure Container Registry Pull - Docker Container - Can not Find File - Works with Docker Hub 如何在 Cloud Run 中部署带卷的 docker 容器 - How to Deploy a docker container with volume in Cloud Run 如何在 azure 容器实例中运行 Azuredevops buildagent - How to run Azuredevops buildagent in azure container instance 如何在 gcp vm 中部署 docker 镜像 - how to deploy docker image in gcp vm 如何在 azure 容器应用程序上托管 arm64 docker 容器 - How to host a arm64 docker container on azure container apps ECS FARGATE 任务定义与 docker 中心图像 - ECS FARGATE TASK definition with docker hub image GCP 上的 Pulumi - 如何使用 Docker 容器实例创建托管实例组 - Pulumi on GCP - How to create a Managed Instance Group with Docker Container Instances
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM