Last active
August 29, 2015 14:15
-
-
Save marcelmaatkamp/c2acb35dce794174ed6c to your computer and use it in GitHub Desktop.
start mesos slave in docker, communicating over a tcp socket
This file contains hidden or 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
docker run -d \ | |
--name mesos_slave_01 \ | |
--link zookeeper:zookeeper \ | |
-e MESOS_LOG_DIR=/var/log \ | |
-e MESOS_MASTER=zk://zookeeper:2181/mesos \ | |
-e MESOS_EXECUTOR_REGISTRATION_TIMEOUT=5mins \ | |
-e MESOS_ISOLATOR=cgroups/cpu,cgroups/mem \ | |
-e MESOS_CONTAINERIZERS=docker,mesos \ | |
-v $(which docker):$(which docker) \ | |
-e DOCKER_HOST=tcp://192.168.1.18:2375 \ | |
-v /sys:/sys \ | |
-p 5051:5051 \ | |
redjack/mesos-slave |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment