Docker Swarm

Create a Manager Node: $docker-machine create -d amazonec2 –swarm –amazonec2-region ap-southeast-1 –amazonec2-zone a –amazonec2-vpc-id vpc-12112 –amazonec2-ssh-keypath [SSH-PRIV-KEY-FILE] master Note: Public Key should also be present in the same directory. Create 2 Slave Nodes: $docker-machine create -d amazonec2 –swarm –amazonec2-region ap-southeast-1 –amazonec2-zone a –amazonec2-vpc-id vpc-121212 –amazonec2-ssh-keypath [SSH-PRIV-KEY-FILE] slave1 $docker-machine create -d amazonec2 –swarm –amazonec2-region ap-southeast-1 –amazonec2-zone […]