You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Since I fresh install docker-ce 17.06, I found one issue of ingress network.
Cause there's a conflict of ingress network in 10.255.x.x with my environment, I recreate the ingress network, and then create my own overlay network named myoverlay for service internal communication. A container of a service got 4 interface, one for ingress network, one for myoverlay, one for docker_gwbridge and lo.
Then I found that across the service containers, ping is ok on ingress network ip , but L4 TCP connection is timeout.
Steps to reproduce the issue:
1.install docker17.06 on 2 machine, swarm init...
2.recreate ingress network, create another overlay network
This is by design; The ingress network cannot be used for container-container communication. The ingress network is used for the routing mesh (i.e., routing external traffic arriving at "node A" to a container running on "node B").
Only containers attached to the same custom network are allowed to communicate; given that the ingress network is automatically attached when publishing ports, allowing communication over the ingress network would be a security issue.
I'll close this issue because this is not a bug, but feel free to continue the conversation
@thaJeztah Great thanks for your reply!
I got it, but I found that the interface order in container is random, for example, a service with exposed port 9999 and network useroverlay, the interface order in these networks are random: userovelay, ingress, docker_gwbride, why not a fixed order?
That's a known issue; IIRC networks are connected in alphabetical order (thus determining the interface order), but there's many situations where this may not be the case.
With the "csv" style syntax for networks being worked on (see #31964, and PR's docker/cli#62 (for services), and docker/cli#156 for docker run), perhaps it would be possible to add an additional configuration option to specify the interface name
Description
Since I fresh install docker-ce 17.06, I found one issue of ingress network.
Cause there's a conflict of ingress network in 10.255.x.x with my environment, I recreate the ingress network, and then create my own overlay network named myoverlay for service internal communication. A container of a service got 4 interface, one for ingress network, one for myoverlay, one for docker_gwbridge and lo.
Then I found that across the service containers, ping is ok on ingress network ip , but L4 TCP connection is timeout.
Steps to reproduce the issue:
1.install docker17.06 on 2 machine, swarm init...
2.recreate ingress network, create another overlay network
network of one container(lo is ingored)
the network on anther container(lo is ingored) :
on container1:
but the level 4 is not ok on ingress network:
Describe the results you received:
network not accessable on ingress L4
Describe the results you expected:
the network is ok in both ingress and user-defined overlay network
Additional information you deem important (e.g. issue happens only occasionally):
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):
os info:
fNo LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty
uname -r : 4.4.0-34-generic
the ufw is disabled
The text was updated successfully, but these errors were encountered: