How to register a mesos-slave with docker containerizer option?

I have a mesos master running at IP

I would like to register my mesos-slave.

  • “docker-machine rm” failing on non-existent EC2 instance
  • Do I require a load balancer for a web service container in google cloud?
  • How can I use git client to access gitlab docker?
  • docker cannot start container … cpu.shares: no such file or directory
  • Running on runner-…-concurrent-0 via … runner for LONG time never ends
  • How to view logs for a docker image?
  • However, from my mesos-slave machine when I run following command

    ./ --master=

    I get error

        I1017 21:47:20.751700   594 main.cpp:190] Build: 2015-10-16 08:02:34 by
        I1017 21:47:20.756986   594 main.cpp:192] Version: 0.26.0
        I1017 21:47:20.757683   594 main.cpp:199] Git SHA: 6d90b3b926f3eabbec4f9e2ff627a3eeae368d84
        I1017 21:47:20.878522   594 containerizer.cpp:143] Using isolation: posix/cpu,posix/mem,filesystem/posix
        Failed to create a containerizer: Could not create MesosContainerizer: Failed to create launcher: Failed to create Linux launcher: Failed to create root cgroup /sys/fs/cgroup/freezer/mesos: Failed to create directory '/sys/fs/cgroup/freezer/mesos': Read-only file system**strong text**
    1. Could I start my mesos-slave with docker as the containerizer?
    2. How could I do it?

  • Fig apparently not using volume_from on mysql service
  • What´s the sha256 code of a docker image?
  • Docker-Compose persistent data MySQL
  • AWS ECS - how to log to cloudwatch from ECS container?
  • Hot to enable swarm containers to connect to the host machine?
  • Can't remove image due to error: “Error response from daemon: reference does not exist”
  • One Solution collect form web for “How to register a mesos-slave with docker containerizer option?”

    NOTE – Make sure docker is installed on the mesos-slave

    1. Yes you can start your mesos-slave with docker as the containerizer.
    2. Following is how to do it

    ./ --master= --containerizers=docker

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.