When launching services using stack deploy we get the following error:
"Error response from daemon: rpc error: code = 3 desc = EndpointSpec: port published with ingress mode can't be used with dnsrr mode"
Testing has led me to try:
manually creating a network with ignress=false set, launching the stack deploy without exposing ports and joining the nodes to the network, then manually exposing ports.
docker service update --publish-add 5672:5672 service_name1
but still get the same error.
any thoughts?
Exposing the port can be achieved by following these 2 commands:-
This will change endpoint mode to vip from dnsrr and later you can expose port with the same command