8000 GitHub - alantrrs/maestro: Docker machine hacks
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

alantrrs/maestro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

MAESTRO

Maestry is a simple utility to managa a cluster via Docker machine

Dependencies

  • Docker
  • Docker Machine

Create a cluster

This will create 10 instances associated with cluster-name:

./maestro create cluster-name 10

It requires a DOCKER_MACHINE_OPTIONS variable to be set with all the parameters you want to create your machine.

Stop all instances in the cluster

./maestro down cluster-name

Start all instances in the cluster

./maestro up cluster-name

Run a script passing the instance as a parameter

This will iteracte through all the running instances associated with cluster-name and execute the script.sh for each instance. The script.sh will receive the instance name as the first argument $1

./maestro run cluster-name run ./script.sh

About

Docker machine hacks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0