New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With Docker Swarm unable to access containers on other nodes #27541
Comments
@the-nw1-group One reason this may not be working as intended is when |
I did try that, but got the same results, but just to double check:
|
@the-nw1-group Before doing more investigation, I think it is worth to first check if it works over a non-encrypted overlay network. |
I just went through a lot of headache with something similar, and turning off the opt encrypted fixed mine. I was having sort of intermittent network failures when starting new hosts. |
Thanks to both @aboch and @coryleeio, running it with a non-encrypted overlay network seems to be working. Obv. our security guys won't like it, but for initial testing that's fine. |
@the-nw1-group I am thinking your 3.10.x kernel is missing some modules needed to get the dataplane encryption work. Can you run the script https://github.com/docker/docker/blob/master/contrib/check-config.sh on your host and post the o/p. Thanks. |
Here's the output from dev01:
and here's the output from tst01:
Thanks. |
This could possibly be the same as #26523 |
Please make sure ip protocol 50 is open for all your hosts. |
Brilliant - It works! Thanks a lot. |
When we deploy a simple application into a Docker Swarm, if the swarm spans two nodes, the containers on one node are unable to reach the containers on the other node.
The simple application is comprised of one reverse proxy (Apache HTTPD) a web site (again Apache HTTPD). When the reverse proxy can't connect to the web site, we eventually get
Steps to reproduce the issue:
Create a docker image, and push to a registry, from the Dockerfile:
The new httpd.conf file enables mod proxy, and has the proxy rules:
run the following:
Describe the results you received:
Describe the results you expected:
Output of
docker version
: (the same on both servers)Output of
docker info
: (on dev01)on tst01:
Output of
uname -a
:Ports 2377 (TCP), 7946 (TCP/UDP) and 4789 (TCP/UDP) are open on both nodes.
firewalld is disabled, but iptables is running on both servers
The text was updated successfully, but these errors were encountered: