Hi Artem,
First of all, we are experimenting now with creating
Mesos+Marathon+Chronos images which satisfy our needs under the Kolla
project umbrella. My change about this is in review and you can see it here:
https://review.openstack.org/#/c/261331/
So, these images I'm introducing to kolla have the following features:
- are using newest version of every Mesos+Marathon component
- are running processes by non-root users (except the mesos-slave container)
- have support for both CentOS and Ubuntu
- everything comes from Mesosphere yum/apt repository
If you're open for bringing such changes (or pull requests) into the
Dockerfiles under the mesosphere/ namespace, let us know.
And well, I have one new problem, which is more about packaging of
Marathon. I see that Marathon package on CentOS works well with OpenJDK
and doesn't require Oracle Java. Unfortunately, Ubuntu packages require
only Oracle Java packages and there is no way to use OpenJDK without hacks.
So, my question here - is there any specific reason why Marathon on
Ubuntu can't be installed with OpenJDK like on CentOS?
For now, we probably need to "hack" these requirements and use OpenJDK
anyway, because we shoudn't provide anything on the non-free license for
the OpenStack users.
Thank you in advance.
Also, one comment inline.
On 01/11/2016 08:26 AM, Artem Harutyunyan wrote:
Hi Marek,
Thanks for the feedback! The issues that you've discovered with images at
https://hub.docker.com/r/mesosphere
<https://hub.docker.com/r/mesosphere/zookeeper/> all seem to be solvable.
I'll forward your feedback to the maintainer of ZooKeeper and Chronos
images. We'll also look into adding Docker into Mesos slave image. I am not
sure whether Docker in Docker works out of the box (I know it doesn't for
earlier versions of Docker).
Docker in Docker image works well. There are some examples / proofs for
that.
1. In my patch to kolla which I linked above, it's working in
mesos-slave container.
2. Docker provides a Dockerfile for itself :)
https://github.com/docker/docker/blob/master/Dockerfile
3. Kolla provides a Dockerfile for Docker as well -
https://github.com/openstack/kolla/blob/master/docker/dind/Dockerfile.j2
Cheers,
Michal