SyntaxHighlighter

Tuesday, December 15, 2015

mesos + marathon + docker + weave

mesos + marathon + docker + weave

so here's a little configuration set of links for standing up a PaaS leveraging mesos, marathon, docker and weave (am using centos 7 on a VM);

  1. follow the install of the base platform here --> https://open.mesosphere.com/getting-started/install/
  2. install docker from here --> https://docs.docker.com/engine/installation/centos/
  3. use this weave script from here --> https://github.com/weaveworks/guides/blob/master/mesos-marathon/centos/weave
  4. use these service scripts in here --> https://github.com/weaveworks/guides/tree/master/mesos-marathon/centos
  5. but most importantly, add the following to /usr/lib/systemd/system/mesos-slave.service
Environment=MESOS_CONTAINERIZERS=docker,mesos
Environment=MESOS_DOCKER_SOCKET=/var/run/weave/weave.sock

now you can deploy normally with marathon and have your containers picked up in weave (and mapped)

No comments:

Post a Comment