[英]How do I stop an Azure Container Instance?
I'm still new to the Azure Container Instance scene. 我还是Azure容器实例场景的新手。 I have managed to complete the container instance tutorial. 我已经成功完成了容器实例教程。 However, I've noticed that the tutorial does not show the reader how to stop a running container instance. 但是,我注意到该教程并未向读者展示如何停止正在运行的容器实例。 The nearest command that gaurantees the container instance is indeed stopped / terminated, is by deleting the Resource Group which created the container. 确保容器实例最近的命令实际上已停止/终止,方法是删除创建容器的资源组。
az group delete -n <ResourceGroupNameThatCreatedContainerInstance>
Is this the correct approach? 这是正确的方法吗?
您可以使用z容器删除
az container delete -g MyResourceGroup --name mynginx
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.