使用CNI协助来自azure vnet的IP后,无法在同一子网的docker容器之间进行通信 [英] Unable to communicate between the docker containers from the same subnet after using CNI to assing IPs from azure vnet

查看:62
本文介绍了使用CNI协助来自azure vnet的IP后,无法在同一子网的docker容器之间进行通信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述






我试图使用azure CNI插件从azure vnet向docker容器提供IP地址
我成功了给容器提供IP地址,但他们没有相互通信。

解决方案

问候,


感谢您在这里发帖。


您能否告诉我们在通过容器IP运行ping命令时您面临的警告。此外,请使用root权限(例如"sudo ping nodeip")尝试该命令。


问候,


Subhash.V



I was trying to give IP address to docker container from an azure vnet using the azure CNI plugin, I was successfully able to give IP address to containers but they were not communicating with each other.

解决方案

Greetings,

Thanks for posting here.

Could you please provide us what warning are you facing while running the ping command over the container IP. And also please try that command using root privilages like "sudo ping nodeip".

Regards,

Subhash.V


这篇关于使用CNI协助来自azure vnet的IP后,无法在同一子网的docker容器之间进行通信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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