![](/img/trans.png)
[英]Azure Container Instances - from where to execute “docker login” before we execute “az container create” command
[英]What is the equivalent of `docker create` for Azure Container Instances?
在 Docker 中有run
和create
命令。 前者创建一个新容器并立即运行它,而后者只是创建而不运行它。 当我在 Azure 容器实例中创建容器组时,它将立即像docker run
一样运行。 是否有等效于 Azure 容器实例的docker create
?
我不认为有,所以替代方案是:
az container create xxx
az container stop xxx
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.