从现有VPN创建Azure容器

时间:2019-09-22 18:25:25

标签: azure containers vpn azure-aks azure-container-instances

我们在ACI上使用Azure容器有很大的障碍,因为我们无法通过现有VPN将它们重新以本地方式重新连接。 当遵循documentation here时,我们尝试为连接到Promise的现有VPN创建新的容器,但是它永远不会起作用。这是我们的命令。

PS D:\Azure> az container create --resource-group DEV_MitchellVPN2 --name garytestvnet4 --image centos --vnet DEV_MitchellVPN2_VNET --subnet Subnet1 --ports 80 443 --ip-address Private

Image "centos" has no long running process. The "--command-line" argument must be used to start a long running process inside the container for
the container group to stay running. Ex: "tail -f /dev/null" For more imformation visit https://aka.ms/aci/troubleshoot
Resource /subscriptions/XXX/resourceGroups/DEV_MitchellVPN2/providers/Microsoft.Network/routeTables/DEV_MitchellVPN2_RouteTable cannot be created in or updated to use the subnet /subscriptions/XXX/resourceGroups/DEV_MitchellVPN2/providers/Microsoft.Network/virtualNetworks/DEV_MitchellVPN2_VNET/subnets/Subnet1 since it has delegation(s) [Microsoft.ContainerInstance/containerGroups: /subscriptions/XXX/resourceGroups/DEV_MitchellVPN2/providers/Microsoft.Network/virtualNetworks/DEV_MitchellVPN2_VNET/subnets/Subnet1/delegations/Microsoft.ContainerInstance/containerGroups] to external services.

0 个答案:

没有答案