Here’s the up to date URL: https://mesosphere.github.io/marathon/docs/generated/api.html#v2_apps_post
Best regards, Radek Gruchalski ra...@gruchalski.com (mailto:ra...@gruchalski.com) (mailto:ra...@gruchalski.com) de.linkedin.com/in/radgruchalski/ (http://de.linkedin.com/in/radgruchalski/) Confidentiality: This communication is intended for the above-named person and may be confidential and/or legally privileged. If it has come to you in error you must take no action based on it, nor must you copy or show it to anyone; please delete/destroy and inform the sender immediately. On Tuesday, 26 April 2016 at 14:30, haosdent wrote: > This is marathon REST API document: > https://mesosphere.github.io/marathon/docs/rest-api.html#post-v2-apps . > Usually we define a task json file and call the rest api. > > For example, create tasks.json which content is > > ``` > { > "id": "/test-sleep", > "cmd": "sleep 200" > } > ``` > > And > > ``` > curl -X POST -H "Content-type: application/json" > http://${YOUR_MARATHON_ADDR}:8080/v2/apps -d @tasks.json > ``` > > You could find more field definitions in their document. > > On Tue, Apr 26, 2016 at 8:24 PM, Stefano Bianchi <jazzist...@gmail.com > (mailto:jazzist...@gmail.com)> wrote: > > Hi guys > > > > i'm trying to follow the instructions on mesosphere documentation, but it > > is a little bit unlear for me that i am new to this world. > > i' would like to launch a wordpress container, present on docker hub here > > https://hub.docker.com/_/wordpress/ , from marathon UI but i don't > > understand the mechanism. > > I understood that i don't have to specify a command in "Command" field, but > > i don't know how to fill the dockers fields in marathon UI to launch > > wordpress container. > > Could you please help me or tell me where i can find a clearer > > documentation? > > > > Thanks. > > > -- > Best Regards, > Haosdent Huang