Setup commands for Mesos and Kubernetes on Docker?

When trying to move a web container (Tomcat) to the latest technologies for better growth and support, I came across this blog. This part seems ideal for my needs:

… we are also incorporating Kubernetes into Mesos to manage the deployment of Docker workloads. Together, we provide customers with a commercial-grade, highly-available and production-ready compute fabric.

  • docker build with Dockerfile, but the image has no name or tag
  • Docker “Jenkins” image can't access internet
  • How to change “default” docker-machine's dns settings
  • Not able to view my simple flask app using uwsgi and Docker
  • create a pure data image in docker
  • How to install docker-engine using docker binary without internet connection
  • Now, how to setup a local test environment to try this out? All these technologies seem interchangable! I can run docker on mesos, mesos on docker, etc etc etc. Prepackaged instances allow me to run on others Clouds. Other videos also make this seem great! Running out on the cloud is not a viable (allowed) option for me. Unfortunately, I can not find ‘instructions’ on how to setup the configuration described/marketed/advertised.

    If I am new to these technologies, and know there will be a learning curve, is there a way to get initialized for doing such a “simple task”: running a tomcat container on a Docker machine that is running Mesos/Kubernetes? That is, without spending days trying to learn and figure out each individual part! This is the picture from the blog site referenced:

    enter image description here

    Assuming that I “only” know how to create a docker container(s) (for say, centos-7). What commands, in what order, (i.e. the secret ‘code’) do I need to use to configure small (2 or 3) local environment to try out running Tomcat?

  • Docker Remote API on windows native
  • Copy directory to other directory at Docker using ADD command
  • Docker: How Do I remove all images used to build a container?
  • How do Docker and other container services differ from KVMs?
  • Issue connecting to Docker container
  • Deploy to JBoss from Docker Jenkins Container
  • One Solution collect form web for “Setup commands for Mesos and Kubernetes on Docker?”

    Although I searched quite a bit, apparently not enough! Someone pointed me to this:

    https://github.com/kubernetes/kubernetes/blob/master/docs/getting-started-guides/mesos-docker.md

    which is pretty close to exactly what I was looking for.

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