Skip to content

mesos-dockerized/slave-dockerfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mesos Slave docker image

Build Status Docker Repository on Quay

Example usage

docker run -d --net=host --privileged --name=mesos-slave \
 -e MESOS_MASTER=zk://{EXTERNAL_IP}:2181/mesos \
 -e MESOS_SWITCH_USER=0 \
 -e MESOS_CONTAINERIZERS=mesos,docker \
 -e MESOS_LOG_DIR=/var/log/mesos \
 -e MESOS_IP={EXTERNAL_IP} \
 -e MESOS_WORK_DIR=/var/tmp/mesos \
 -e MESOS_EXECUTOR_REGISTRATION_TIMEOUT=5mins \
 -e MESOS_DOCKER_KILL_ORPHANS=false \
 -e MESOS_SYSTEMD_ENABLE_SUPPORT=false \
 -v /var/run/docker.sock:/var/run/docker.sock \
 -v /cgroup:/cgroup \
 -v /sys:/sys \
 -v /usr/local/bin/docker:/usr/local/bin/docker \
 quay.io/mesosdockerized/mesos-slave:v1.1.0

Check more examples in mesos-dockerized/mesos-cluster repository.