Created
May 25, 2015 16:19
-
-
Save johngian/fb9cb98dcbacddab766f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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