跳到主内容
预览中

Azure 容器实例自定义虚拟网络支持现提供预览版

发布日期:十月 31, 2018

以更安全的方式使用 Azure 容器实例。借助虚拟网络支持,Azure 容器实例现支持将容器部署到新的或现有的 Azure 虚拟网络中。 Azure 容器实例的容器可与驻留在同一虚拟网络中的其他资源(例如 Azure Kubernetes 服务群集)安全通信。 

 

现使用 Azure CLI 2.0 通过一个命令进行部署。 

az container create \ --name appcontainer \ --resource-group myResourceGroup \ --image microsoft/aci-helloworld \ --vnet-name aci-vnet \ --vnet-address-prefix 10.0.0.0/16 \ --subnet aci-subnet \ --subnet-address-prefix 10.0.0.0/24 

了解更多

  • 容器实例
  • 虚拟网络
  • Azure Kubernetes 服务 (AKS)
  • Services