Skip to content

Instantly share code, notes, and snippets.

@marcelmaatkamp
Created February 11, 2015 13:28
Show Gist options
  • Save marcelmaatkamp/f688e7955e2bfbb5ef8d to your computer and use it in GitHub Desktop.
Save marcelmaatkamp/f688e7955e2bfbb5ef8d to your computer and use it in GitHub Desktop.
Example of a mesos docker container: RabbitMQ
{
"container": {
"type": "DOCKER",
"docker": {
"image": "rabbitmq:management",
"network": "BRIDGE",
"portMappings": [
{ "containerPort": 5672, "hostPort": 0, "servicePort": 5672, "protocol": "tcp" },
{ "containerPort": 15672, "hostPort": 0, "servicePort": 15672, "protocol": "tcp" }
]
}
},
"id": "rabbitmq",
"instances": 1,
"cpus": 0.5,
"mem": 512,
"uris": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment