-
Notifications
You must be signed in to change notification settings - Fork 841
Marathon container service orchestration #4945
Comments
This can be done at executor level see https://github.com/mesos/docker-compose-executor or by manual translation of docker compose yaml to marathon group http://stackoverflow.com/a/40038361/1387612 |
@janisz Thanks |
@janisz i used docker-compose-executor, but it can't running in marathon 1.3.6. Is there any other workaround? This is my question mesos/docker-compose-executor#19 |
It looks like threre is a problem with Marathon validation. Can you run same configuration without container filed? {
"id": "docker-compose-demo",
"cmd": "echo hello world",
"cpus": 1,
"mem": 128,
"disk": 0,
"instances": 1,
"constraints": [["hostname", "CLUSTER", "slave3"]],
"executor": "/usr/local/src/compose_executor.sh",
"labels": {
"fileName": "/root/docker-compose.yml"
}
} Created issue for this: #4978 |
@janisz If there is no container field, you will be prompted with the following information:
|
@tangjiaxing669 The validation makes sure, your app defines an entry point, which is either |
Note: This issue has been migrated to https://jira.mesosphere.com/browse/MARATHON-1941. For more information see https://groups.google.com/forum/#!topic/marathon-framework/khtvf-ifnp8. |
How to use marathon containers to achieve service orchestration, similar docker-compose?
Marathon deployment seems unable to achieve this function.
The text was updated successfully, but these errors were encountered: