如何修复azure容器实例的ip地址和主机名 [英] How can I fix the ip address and hostname of an azure container instance

查看:118
本文介绍了如何修复azure容器实例的ip地址和主机名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在vnet中创建了一个azure vnet和一个子网。现在我想生成一个只包含一个容器实例的容器组。如何在生成容器组时修复容器组的ip-address和hostname?


有可能吗?如果没有,那么,有哪些解决方法?




解决方案

我不确定我是否完全理解您的问题。 


我们确实能够将容器实例部署到虚拟网络。此功能目前处于预览状态,您可以在此处找到如何执行此操作: 


https://docs.microsoft.com/en-us/azure/container-instances/container-instances-vnet


如果这不是您想要做的,请详细说明并提供更多详细信息或指向您所关注的任何内容的链接? 


I have created an azure vnet and a subnet inside the vnet. Now I want to spawn a container group containing only one container instance. How can I fix the ip-address and hostname of the container group while spawning the container group?

Is it possible? If not, then, what are the workarounds?


解决方案

Not sure I am fully understanding your issue here. 

We do have the ability to deploy container instances to a Virtual network. This feature is currently in preview and you can find how to do that here: 

https://docs.microsoft.com/en-us/azure/container-instances/container-instances-vnet

If that is not what you are trying to do, can you please elaborate and provide more details or links to anything you are following? 


这篇关于如何修复azure容器实例的ip地址和主机名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆