TrentBrown / weave-into-mesos

Integrating Weave with Mesos
MIT License
4 stars 0 forks source link

Add methods for configuring the docker host based on the Mesos version #1

Open TrentBrown opened 8 years ago

TrentBrown commented 8 years ago

According to Ilya Dmitrichenko of WeaveWorks:

For the record, before 0.23 you could simply set

DOCKER_HOST=unix:///var/run/weave/weave.sock

With 0.23 (and, if I remember correct, 0.24), you needed

MESOS_EXECUTOR_ENVIRONMENT_VARIABLES={"DOCKER_HOST":"unix:///var/run/weave/weave.sock"}

And with 0.25 you need

MESOS_DOCKER_SOCKET=/var/run/weave/weave.sock

Incorporate this into the installer. If possible, determine the installed version of Mesos from the slave. Otherwise, add a --mesos-version option to specify it.

hodiapa commented 8 years ago

Does one need to specify "DOCKER_HOST=unix:///var/run/weave/weave.sock" on mesos-master as well as the slave? Also does one need to start weave also on the mesos-master?