Dan*_*iel 5 azure docker azure-container-registry
我对这些东西很感兴趣,但我似乎错过了一些东西。我将图像推送到私有 Azure 注册表,并通过门户生成一个容器实例。奇迹般有效。现在我改变了一些东西,再次推动......我该怎么办?杀死并删除实例并重新创建?每次?兄弟,丹尼尔
一般来说 - 是的。但是您可以创建一个 Webhook,当新图像推送到存储库时,该 Webhook 将调用某些内容。这可以作为自动化重新部署的一种方式。
可能的解决方案是使用容器的 Azure 托管 DNS 名称:
az container create -n helloworld --image microsoft/aci-helloworld -g myResourceGroup --dns-name-label mycontainer
Run Code Online (Sandbox Code Playgroud)
这样你的 dns 名称将始终保持不变
归档时间: |
|
查看次数: |
8564 次 |
最近记录: |