No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
applications
example/compose-nginx
.gitignore
EXAMPLE.md
LICENSE.md
README.md
Vagrantfile
create-certs.sh
docker.sh
init-node-3.sh
init-node-4.sh
init-swarm.sh
init-vagrant.sh
init.sh
remove-node-3.sh
remove-node-4.sh
rsyslog.conf
vagrant

README.md

4 node alpine docker swarm vagrant

First

Since we are using alpine linux we must install the alpine plugin for vagrant.

To make this easy for you you can run

$ ./init-vagrant.sh

Run

When it's not your first run and there is no more a need to install docker you can just do vagrant up

$ vagrant up

ssh into one of the nodes

$ vagrant ssh manager-1 
$ vagrant ssh manager-2
$ vagrant ssh node-1
$ vagrant ssh node-2

Init swarm

run the following command to initialize the 4 node swarm

./init-swarm.sh