Manager Version Docker version 1.12.0-rc5, build a3f2063
,
Worker version Docker version 1.12.0-rc5, build a3f2063
.
Created Swarm m
According to dockers website Here they stated the ports to enable. Run the following commands on both the Swam Manager and worker nodes
sudo ufw enable
sudo ufw allow 22/tcp
sudo ufw allow 2376/tcp
sudo ufw allow 2377/tcp
sudo ufw allow 7946/tcp
sudo ufw allow 7946/udp
sudo ufw allow 4789/udp
sudo ufw reload
We just gave access to the neccessary port. After running these commands, all docker commands should be working now.