docker-machineのクラスタを管理するツールでmachineryという面白そうなものがあるのですが、インストールが面倒そうな感じなので homebrew 用のformula を
class Machinery < Formula
desc ""
homepage ""
url "https://github.com/efrecon/machinery/releases/download/v0.5.1/machinery-0
.5.1-macosx-x86_64"
version "0.5.1"
sha256 "9232ae62c88009185e78f45c4e99384c0a55744b1983f43a8e5187a27285ea39"
depends_on :arch => :x86_64
def install
mv 'machinery-0.5.1-macosx-x86_64', 'machinery'
bin.install 'machinery'
end
end
gistに置いてあるので以下のコマンドで導入できます。
brew install https://gist.githubusercontent.com/genki/086b4121ab165186b3a8/raw/1b9d31f02a171a8b87e909d1f2c48ce28504eeb2/machinery.rb