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.

  • How can I set up a mysql slave in Docker?
  • Docker Created Volume Does Not Exist With Inspect
  • Where's docker's deamon.json? (missing)
  • Docker 1.12 on Mac issue with DB connection pool
  • Changing the default command of base docker images
  • Running Jenkins in Docker - Exits immediately
  • 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?

  • How to get two Docker containers talking to each other?
  • How to create Dockerfile in Boot2docker to create an image
  • Unrecognized import path “main/testPackage” when running Go image
  • has anyone created a docker container using cake?
  • How to interact with Docker daemon directly (bypass the terminal) through Java program
  • Mounting host volume for mongo data in docker compose container
  • 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.