We have gotten Aegir working on Docker!

We have semi-official images at https://hub.docker.com/r/aegir/hostmaster/ and https://github.com/aegir-project/dockerfiles

Check out our docker based development environment at https://github.com/aegir-project/development and tests at https://github.com/aegir-project/tests

We need help maintaining and improving these images!

Things that need to be done:

  • Create images for the Aegir releases.
  • Improve docker-entrypoint.sh and the Dockerfiles
  • Improving the docker local development environment.
  • Create Dockerfiles based on other OSes, including the alpine linux slim images.
  • Create Aegir-approved docker-compose.yml cluster definition.
  • Write docker integration into Aegir.
  • Help improve Behat tests for AEgir.

This is an exciting time for Aegir. This work will enable Aegir, which is essentially just a Drupal distribution, to launch and manage any application using Docker.

If you or anyone you know is familiar with Docker and wants to help us take Aegir to the next level, get in touch on this issue!

Comments

Jon Pugh created an issue. See original summary.

Jon Pugh’s picture

Issue summary: View changes
tommycox’s picture

I'm very interested in being involved. I've been messing around with the images and have been attempting to develop similar solutions in parallel. I'd much rather join forces

Jon Pugh’s picture

Jon Pugh’s picture

That's great to hear, Tommy!

There are so many possibilities, i think first thing we should do is to document them.

While mostly everyone thinks about using individual docker containers per site, it did feel pretty awesome the first time I got Aegir/DevShop running in containers and started spinning up sites.

I think there is a use case for both. Sometimes users do have 1000s of sites, and they don't really care about isolation, they just want to keep it simple. There's nothing stopping us from putting 1000 sites in that single hostmaster container!

There's also the fact that a lot needs to change before Aegir can easily deploy docker containers itself, but we are getting there.

Jon Pugh’s picture

I've updated the META issue with all of the work thus far and my current goals.

mwisner’s picture

This is also something that would very much interest me and a few of my team members.

My organization has a strong need to come up with a "solution" to our hosting issues and we are currently trying to figure out exactly what that solution is. Docker + Aegir is something we are planning on exploring. However, our needs are slightly different than the majority of users and as a result I wasn't sure exactly how much of the 4.x branch efforts were going to align with our organizational needs. We are definitely in that group that needs to focus more on "mass" site hosting and finding solutions for 1000s of sites across multiple platforms. So for example that means we need to be able to scale out our task workers across multiple hosts and whatnot so we can migrate 10 or 20 sites at a time if necessary.

So we've been looking into (just a little) dockerizing Aegir, and then figuring out if we can leverage some of the clustering and orchestration tools, such as Rancher, out there to help us more easily scale our hosting infrastructure.

Jon Pugh’s picture

Title: Request for Contribution: Aegir on Docker & Travis » Request for Contribution: Aegir on Docker

That's great to hear, mwisner.

Would you or members of your team join #aegir on IRC and say hi to the maintainers ergonlogic helmo colan bgm memtkmcc and myself?

...our needs are slightly different than the majority of users and as a result I wasn't sure exactly how much of the 4.x branch efforts were going to align with our organizational needs.

User feedback is critical as we start working on 4.x. I personally want to know more about your use case so we can design and build a system that does the trick for you.

I'm also interested in making it easier for people to contribute to development of aegir itself so we can accelerate the process. Check out the development environment we created over at https://github.com/aegir-project/development and let me know how that works.

... we need to be able to scale out our task workers across multiple hosts and whatnot so we can migrate 10 or 20 sites at a time if necessary.

I've been able to use Jenkins as the task runner with Aegir, which allowed for parallel task execution and adding multiple jenkins workers. See the project for that at https://github.com/opendevshop/hosting_task_jenkins

So we've been looking into (just a little) dockerizing Aegir, and then figuring out if we can leverage some of the clustering and orchestration tools, such as Rancher, out there to help us more easily scale our hosting infrastructure.

Check out my attempts at creating an aegir Rancher Service: https://github.com/jonpugh/aegir-rancher-stack and the dockerfiles at https://github.com/aegir-project/dockerfiles

We are actively recruiting docker experts to help put all these pieces together. If you or anyone you know can contribute any time toward these projects it would be a huge boost. Get in touch on IRC, I am ready and willing to help guide your team on the work thus far and how you could be of help going forward.

Thanks!!

https://github.com/aegir-project/dockerfiles

ichionid’s picture

Just installed the local one, and it does not seem to support anything more than drupal7, at least that is what is offered when creating a site.
Should I add somehow my drupal8 codebase and make a profile?