SyntaxHighlighter

Showing posts with label centos 7. Show all posts
Showing posts with label centos 7. Show all posts

Sunday, January 3, 2016

docker on centos 7 and "cgroupsfs" error

docker on centos 7 and "cgroupsfs" error


here's a workaround on centos 7 for that very annoying "[8] System error: open /sys/fs/cgroup..." error...

Random "Cannot start container" Errors on 1.9.0-rc5 CentOS7


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)