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

I have a mesos master running at IP

192.168.99.100:5050

I would like to register my mesos-slave.

  • docker push has integrity failures from a given commit and onwards
  • Spring Cloud with Consul for High Availability
  • How to delete logs in IBM Containers service (BlueMix)
  • Why docker stops already running containers during startup?
  • How Docker uses cache while building an image
  • Setup subdomains in docker environment
  • However, from my mesos-slave machine when I run following command

    ./mesos-slave.sh --master=192.168.99.100:5050
    

    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 mount docker volume with jenkins docker container?
  • Environment variable in Docker
  • Django channels and docker-compose error
  • How to access ipv6 host from docker container?
  • How to edit /etc/hosts file in running docker container
  • Router assign ip to docker 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

    ./mesos-slave.sh --master=192.168.99.100:5050 --containerizers=docker

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