FAQ Database Discussion Community


how know container name with marathon rest API

docker,mesos,mesosphere,marathon
I'm using Apache Mesos + Marathon + Zookeeper to deploy my rails app. I need share data between rails app and other container. I found some reference here to do it with marathon as follow: marathon/docs/native-docker.html { "id": "privileged-job", "container": { "docker": { "image": "mesosphere/inky" "privileged": true, "parameters": [ {...

docker mesosphere marathon - unable to see running process inside a docker container

tomcat,docker,mesos,mesosphere,marathon
I am a newbie in mesos and marathon space. I have mesos slaves running my docker containers. I am using marathon to instantiate a mesos task. Here is my simple json file: { "container": { "type": "DOCKER", "docker": { "image": "tomcat:8.0" } }, "id": "tomcat", "instances": 1, "cpus": 0.5, "mem":...

Fig / Docker-Compose-like JSON to feed into Mesosphere/Marathon to setup Multi-Tier Application

mesos,mesosphere,marathon
Does anyone know if it is possible to setup a JSON file to feed into Mesosphere/Marathon to deploy multi-tier application with application dependency? Something along the lines of fig or docker compose when there is one yaml file describing applications to deploy and their dependency and etc ? Thanks!! Alex...

Creating a new app Marathon App from web browser

mesos,marathon
After setting up all the Mesos Master, Slave, ZooKeeper, Marathon. I have click the Green Button "Create App" Once it is running on Mesos-Master and the completed task state Fnished. Where can I get the json file? From which folder ??

Linking containers with Mesos JSON file

docker,haproxy,mesos,marathon
I am trying to link my application container to my DB container when sending the JSON task description to the Marathon framework. I've read up on this question from last year: Linked Docker Containers with Mesos/Marathon The question is: I know Fig will be able to help me with this...

Docker container running Mesos cluster and running other docker containers on cluster (using Marathon)

hadoop,docker,cluster-computing,mesos,marathon
I'm just starting off with Mesos, Docker and Marathon but I can't find anywhere where this specific question is answered. I want to set up a Mesos cluster running on Docker - there are a couple of internet resources to do this, but then I want to run Docker containers...

Mesos: mesos-slave offer additional ports

mesos,mesosphere,marathon
I've got some mesos-slave nodes that I would like to expose to the internet. As such, I would like mesos-slave to offer port 80 and 443 in addition to its default slew of ports/resources. From what I have gathered, I need to adjust the --resources parameter and include both 80...

Strategy to persist the node's data for dynamic Elasticsearch clusters

elasticsearch,docker,mesos,marathon
I'm sorry that this is probably a kind of broad question, but I didn't find a solution form this problem yet. I try to run an Elasticsearch cluster on Mesos through Marathon with Docker containers. Therefore, I built a Docker image that can start on Marathon and dynamically scale via...

Docker on Mesos: Volume is placed on which node?

docker,mesos,marathon
I will be setting up a Mesos cluster to run single-use docker jobs, e.g. long rapidminer computations. Of course I want to get the result of the computation, so I think I should use Docker volumes for that. Now, when I send a docker job to a cluster, specifying the...

Why marathon does not terminate jobs after the quorum is lost?

mesos,mesosphere,marathon
I'm working with Apache mesos and marathon. I have 3 master nodes and 3 slave nodes. I configure mesos with quorum 2. Later I post a JSON to run one job with marathon and all look fine. Then I try a shutdown of two master nodes to break the quorum,...