Skip to content

Instantly share code, notes, and snippets.

@cromark
Last active Nov 8, 2016
Embed
What would you like to do?
Mesos on OSX

mesos osx

Install Mesos/Marathon/Docker on OSX (native)

Prequististes

homebrew

http://brew.sh/

forego (homebrew)

brew install forego

Docker OSX

https://docs.docker.com/docker-for-mac/

install zookeeper

brew install zookeeper

install mesos

brew install mesos

build marathon

Install sbt

brew install sbt

Build marathon

git clone https://github.com/mesosphere/marathon.git
cd marathon
sbt assembly

ref: building marathon

Procfile

zookeeper: zkServer start-foreground
master: /opt/boxen/homebrew/Cellar/mesos/1.0.1/sbin/mesos-master --registry=in_memory --ip=192.168.99.1   --zk=zk://192.168.99.1:2181/mesos
slave: /opt/boxen/homebrew/Cellar/mesos/1.0.1/sbin/mesos-slave --master=192.168.99.1:5050 --work_dir=/tmp --containerizers=docker,mesos --docker_socket=/var/run/docker.sock
marathon: export MESOS_NATIVE_JAVA_LIBRARY=/opt/boxen/homebrew/Cellar/mesos/1.0.1/lib/libmesos.dylib && cd /Users/A810323/work/marathon && ./bin/start --master zk://192.168.99.1:2181/mesos --zk zk://192.168.99.1:2181/marathon

start

forego start

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment