Skip to content

Commit

Permalink
Better sample for docker launch
Browse files Browse the repository at this point in the history
  • Loading branch information
mhamrah committed Oct 31, 2014
1 parent 804cfcb commit b59a859
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,19 @@ POST to /v2/apps:

```
{
"id": "www",
"id": "mlh",
"container": {
"docker": {
"image": "mhamrah/mesos-sample"
"image": "mhamrah/mesos-sample",
"network": "BRIDGE",
"portMappings": [
{ "containerPort": 8080, "hostPort": 0, "servicePort": 9000, "protocol": "tcp" }
]
},
"type": "DOCKER",
"volumes": []
"type": "DOCKER"
},
"args": ["hello"],
"cpus": 1,
"cpus": 0.5,
"mem": 512,
"instances": 1,
"ports": [0]
"instances": 1
}
```

0 comments on commit b59a859

Please sign in to comment.