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
Requests to arbitrary swarm nodes are not redirected to containers #23877
Comments
Hmm... is the |
Oh, you probably need to accept the nodes into the cluster.
|
@cpuguy83 Yes, it's enabled. And I actually did |
@Umkus Thanks for checking |
@Umkus I ran into this issue while testing with virtualbox locally as well and got it to work by passing the swarm manager ip address via "--listen-addr" when initializing the manager. I think it will work if you run the following during setup.
|
@Umkus @beenanner Yeah the most likely problem in both boot2docker and a plain vbox is that the primary host interface which acts as the default gateway is the NAT interface and if you did not provide an explicit |
Related to #23828 |
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):
I'm using the docker machine (
docker-machine version 0.8.0-rc1, build fffa6c9
) to create 3 nodes, and basically going through the video demo. In the demo it is stated that if I start a single service with port mapping, I should be able to access the chosen port on an arbitrary node of the swarm. Which doesn't seem to be the case.Steps to reproduce the issue:
Describe the results you received:
Two out of three requests fail. Only the request to the node where the service actually runs returns 200.
Describe the results you expected:
All three requests' response code is 200.
The text was updated successfully, but these errors were encountered: