sanakhanlibre / local_swarm

Local playground for Docker swarm using docker-alpine vagrant box

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Local Swarm cluster

Run a Swarm cluster locally using Vagrant.

This will create and setup 3 Vagrant machines in a private network (10.0.7.0/24):

  • Swarm manager: 10.0.7.100
  • Swarm node 1: 10.0.7.11
  • Swarm node 2: 10.0.7.12

Requirements

Install Vagrant and Docker on your machine.

Ensure you have a valid Vagrant provider installed.

Install vagrant-alpine plugin

$ vagrant plugin install vagrant-alpine

Instructions

$ git clone https://github.com/DoByExample/local_swarm.git
$ cd local_swarm
$ bash ./start_swarm.sh

Resources

About

Local playground for Docker swarm using docker-alpine vagrant box


Languages

Language:Shell 100.0%