[英]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.