November 7, 20178 yr Just a question about giving dockers a custom IP. I have 6.4rc10 installed and I have the option to set the network type of dockers to br0 and set a custom IP working. If I have some dockers that have a custom IP set, can they talk to dockers that are set on the Host or Bridge mode? Or do all dockers that need to talk to each other need to be using br0 and a custom IP?
November 7, 20178 yr Docker containers can talk to each other regardless of network type. Bridge mode however limits communication to the ports which are explicitely configured (forwarded).
November 7, 20178 yr Author Great, I must have misunderstood what I read. I thought that dockers with the custom IPs couldnt communicate with the host's IP.
November 7, 20178 yr 1 hour ago, mattekure said: Great, I must have misunderstood what I read. I thought that dockers with the custom IPs couldnt communicate with the host's IP. Sorry, I am wrong and you are right! Docker has a security mechanism which prevents containers to talk to the host address. Forgot about that
November 7, 20178 yr thats exactly my reading and my experience, a docker on sep ip on br0 cannot talk anymore with docker in bridge mode ... nor with the host itself, completely isolated to me. edit: bonienl just answerde too Edited November 7, 20178 yr by alturismo
November 7, 20178 yr Author OK, but if I have several dockers using br0 with custom IPs, they can talk to each other right?
November 7, 20178 yr Dockers with custom ips on br0 can talk to each other except for dockers in host mode or bridge mode.
Archived
This topic is now archived and is closed to further replies.