Cannot Create A Multi Node Swarm In Docker For Mac

admin

I am trying to set up docker swarm with an overlay network. I have some hosts on aws while others are laptops running Ubuntu(same as on aws). Every node has a static public IP. I have created an overlay network as:docker network create -driver=overlay -attachable test-netI have created a swarm network on one of the aws hosts. Every other node is able to join that swarm network.However when I run docker run -it -name alpine2 -network test-net alpine on any node not on aws, I get the error: docker: Error response from daemon: attaching to network failed, make sure your network options are correct and check manager logs: context deadline exceeded.But if I run the same on any aws host, then everything is working fine.

MEMORY By default, Docker for Mac is set to use 2 GB runtime memory, allocated from the total available memory on your Mac. You can increase the RAM on the app to get faster performance by setting this number higher (for example to 3) or lower (to 1) if you want Docker for Mac to use less memory. Docker: Orchestration of multi-container apps with Swarm. When you create a service, you specify which container image it's based. Brainworx bx_digital v3 plugin alliance. If a new node is added to the cluster, then the swarm manager. If you use the Docker container platform as part of the desktop installations Docker for Mac or Docker.

Is there anything more I need to do in terms of networking/ports If there are some nodes on aws while others are not?I have opened the ports required for swarm networking on all machines.EDIT: All the nodes are marked as 'active' when listing in the manager node.UPDATE Solved this issue by opening the respective ports. It now works if all the nodes are Linux based. But when I try to make a swarm with the manager as Linux(ubuntu) os, mac os machines are not able to join the swarm.