Deploying and running Docker containers on Marathon
Last article I explained how you can build your Mesos infrastructure, so, from here I'd assume you have it working already. First of all, we are going to build a simple application. It is going to be a Java application running on a Docker container, but, you can deploy whatever you want. build.gradle buildscript { repositories { jcenter() } dependencies { classpath 'com.github.rholder:gradle-one-jar:1.0.4' } } apply plugin: 'java' apply plugin: 'gradle-one-jar' repositories { jcenter() } task uberJar(type: OneJar, dependsOn: build) { mainClass = 'hello.marathon.Main' archiveName = 'hello-marathon-all.jar' } dependencies { compile 'com.…