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
Be able to customize ports used by Docker Swarm (7946 TCP/UDP and ) #39280
Comments
@ggaugry Currently you can change listen address port. It is documented to: #38102 also added support to change data addr port. It will be released as part of Docker 19.03. About 7946 port I'm not sure. Let's wait if someone else will know. However, I'm curious that which other service on your environment is using 7946 ? Any standard service should not use it. |
It's a real issue for scenario where half of swarm ( two or more servers) hidden by NAT ( private network ) and second half of swarm ( even one server ) is located in public cloud. Overlay network failed to communicate. NAT just can't map 7946 port. |
Not being able to configure port 7946 at swarm init time is also an issue if you run into opportunities such as all host open ports must be > 10000 e.g. say we need to move it due 17946 for InfoSec requirements. Right now 2377 and 4789 are moveable but 7946 is not which can literally become a 'blocker' |
@olljanat We are also facing a similar problem here, we are trying to set up a swarm node on one of clients server. They are reluctant to open any port which are less that 10000. |
@karthikrab ha ha, sounds that you are dealing with old skool firewall wall admin. I would ask them to explain how changing port to > 10000 makes it more secure? Afaik there is no option for this so it would need to be implemented. |
@sfescape if community (e.g. you) would implement that feature it most probably would be accepted. Other why this kind feature development to swarm does not most probably happen anymore as all most of the developers has changed their focus to Kubernetes. |
Description
Would it be possible to specify differents ports used by Docker Swarm communications than the one by defaults?
On some environments, these ports can already be used by other processes.
Steps to reproduce the issue:
Launch some processes which listen on port 7946 TCP for exemple on a multi hosts environment.
Once the Swarm Cluster initialized, the nodes are having issues to communicate
Describe the results you received:
General issues with the Swarm communications
Describe the results you expected:
At initialization of the swarm (or on docker engine configuration itself), it would be good to be able to specify on which ports we want Docker Swarm to communicate on.
Output of
docker version
:Output of
docker info
:The text was updated successfully, but these errors were encountered: