Skip to content

Instantly share code, notes, and snippets.

@johngian
Created May 25, 2015 16:19
Show Gist options
  • Save johngian/fb9cb98dcbacddab766f to your computer and use it in GitHub Desktop.
Save johngian/fb9cb98dcbacddab766f to your computer and use it in GitHub Desktop.
# Command: curl -X POST -H "Content-Type: application/json" http://<master>:8080/v2/apps [email protected]
{
"container": {
"type": "DOCKER",
"docker": {
"image": "libmesos/ubuntu"
}
},
"id": "ubuntu",
"instances": 1,
"cpus": 0.5,
"mem": 128,
"uris": [],
"cmd": "while sleep 10; do date -u +%T; done"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment