Stefano,
I hope this information is helpful:
You should specify the docker hub path, which is the what you can see after
the Docker Pull command on the Hub page. In your case, simply the word:
"wordpress" without quotes, is what you would use as the Image.
You will also need to specify port bindings (which I am still learning
about so welcome corrections).
For example, here is how you would use the Jupyter Notebook from Docker
Hub. The container is publishing the Notebook interface on port 8888, and
by specifying host port 0, a random port is chosen by Marathon, which you
will see in the Marathon interface under the Running Instances as a
clickable link to load the HTTP interface.
{
"id": "notebook",
"cpus": 1,
"mem": 512,
"container": {
"type": "DOCKER",
"docker": {
"image": "jupyter/notebook",
"network": "BRIDGE",
"portMappings": [
{ "containerPort": 8888, "hostPort": 0 }
]
}
}
}
Thanks,
June Taylor
System Administrator, Minnesota Population Center
University of Minnesota
On Tue, Apr 26, 2016 at 7:24 AM, Stefano Bianchi <[email protected]>
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.
>