dubbo icon indicating copy to clipboard operation
dubbo copied to clipboard

作者是否能够将这个应用在Docker容器里面的网络通用问题解决了,再发布一个新版本出来

Open hanwangkun opened this issue 8 years ago • 6 comments

hanwangkun avatar Jun 26 '18 08:06 hanwangkun

What problem have you encountered? You need to clearly describe it, unless the community cannot help you.

These question you propose make no sense to solve your problem.

ralf0131 avatar Jun 26 '18 14:06 ralf0131

@hanwangkun I guess you can mapping a specified port across docker containers.

kimmking avatar Jul 07 '18 02:07 kimmking

Would you please describe your problems with more details? We are thinking of the enhancements Dubbo should do in order to satisfy Docker and K8S, it will help a lot if you can do that.

chickenlj avatar Jul 09 '18 15:07 chickenlj

就是如果把dubbo服务发布在docker容器里面,注册到zk里面的地址是docker的内网,这样,其他的机器就不能访问这个dubbo服务了。

hanwangkun avatar Jul 13 '18 02:07 hanwangkun

Please check this example: https://github.com/dubbo/dubbo-samples/tree/master/dubbo-samples-docker

It should solve your problem. I am closing it now.

If not, please reopen this issue.

ralf0131 avatar Jul 13 '18 06:07 ralf0131

"就是如果把dubbo服务发布在docker容器里面,注册到zk里面的地址是docker的内网,这样,其他的机器就不能访问这个dubbo服务了。"

Docker内网指的是K8S一类的虚拟网络吧? 这个算是底层(虚拟)网络的问题,一般是通过调度服务的网络接口扩展打通来解决,跟Dubbo自身没有关系。

Jeff-Lv avatar Jul 18 '18 03:07 Jeff-Lv