Public Repository

Last pushed: 2 years ago
Short Description
zookeeper+mesos master/slave+marathon.
Full Description

Useless, just playing around

Example unit:

[Unit]
Description=Mesos Bootstrapper
After=docker.service
After=fleet.service
[Service]
TimeoutStartSec=900
EnvironmentFile=/etc/environment
ExecStartPre=/bin/sh -c "/usr/bin/docker pull daniele/mesos:coreos"
ExecStart=/bin/sh -c "/usr/bin/docker rm -f mesos; /usr/bin/docker run --rm --name mesos --privileged --net=host -p 5050:5050 -p 5051:5051 -p 2888:2888 -p 3888:3888 -p 8080:8080 -v /var/lib/docker/btrfs/subvolumes:/var/lib/docker/btrfs/subvolumes -v /var/run/docker.sock:/var/run/docker.sock -v /sys:/sys -e SERVER_LIST=<coreos nodes> -e ZK_ID=1 daniele/mesos:coreos"
ExecStop=/usr/bin/docker rm -f mesos
Restart=always
RestartSec=10s

Docker Pull Command
Owner
daniele