Building Apache Mesos cluster with Docker Compose
we have an environment where docker containers are working together en they are managed by Apache mesos.
Now I saw this tutorial part 1 and part 2 which is working with fig. He is recommending to use the new docker compose.
I don’t know fig and I don’t know Docker compose. I know docker images, and containers and how they’re working but nothing more.
I read the official documentation. It’s nice to start multi-container environments (described in the dockercompose.yml. But can Docker Compose start other tools like apache Mesos? So actually: Can a Docker Compose file describe your whole configuration for application: so creating an apache mesos cluster with your Docker Containers?
One Solution collect form web for “Building Apache Mesos cluster with Docker Compose”
Yeah, you can set up your whole cluster using docker compose if you wanted to.
Getting all the pieces working for your configuration could take some tweaking but here’s an example of running a mesos/marathon cluster through a single dockercompose.yml:
The general steps:
- Find dockerized versions of the services you want to run
- Get them to run to spec
- Link them together using docker compose.