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.
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?
According to Ilya Dmitrichenko of WeaveWorks:
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.