This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# I'll look at creating a docker-compose.yaml soon | |
docker run -d --name zookeeper -p 2181:2181 -p 2888:2888 -p 3888:3888 jplock/zookeeper | |
docker inspect --format '{{ .NetworkSettings.IPAddress }}' zookeeper # use ip for following zk:// reqs below | |
docker run -d --name mesos-master -e MESOS_WORK_DIR=/tmp -e MESOS_LOG_DIR=/var/log -e MESOS_ZK=zk://172.17.0.18:2181/mesos -e MESOS_QUORUM=1 -p 5050:5050 redjack/mesos-master | |
docker run -d --name mesos-slave -e MESOS_LOG_DIR=/var/log -e MESOS_MASTER=zk://172.17.0.18:2181/mesos -e MESOS_EXECUTOR_REGISTRATION_TIMEOUT=5mins -e MESOS_ISOLATOR=cgroups/cpu,cgroups/mem -e MESOS_CONTAINERIZERS=docker,mesos -v /run/docker.sock:/run/docker.sock -v /sys:/sys -v /proc:/host/proc:ro redjack/mesos-slave | |
docker inspect --format '{{ .NetworkSettings.IPAddress }}' mesos-master | |
docker run -d -p 8080:8080 --name marathon thefactory/marathon:latest --master 172.17.0.29:5050 --zk zk://172.17.0.25:2181/marathon | |
curl -X POST http://localhost:8081/v2/apps -d @nginx-bridge.json -H "Content |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Clearing any previously set forwarded ports... | |
==> default: Clearing any previously set network interfaces... | |
==> default: Preparing network interfaces based on configuration... | |
default: Adapter 1: nat | |
==> default: Forwarding ports... | |
default: 5985 => 55985 (adapter 1) | |
default: 5986 => 55986 (adapter 1) | |
==> default: Booting VM... | |
==> default: Waiting for machine to boot. This may take a few minutes... |