In order for us to break out of the aegir shell (and actually scale aegir with docker) we need hostmaster to control docker.
This PR adds the Docker Client, inspired by Rancher Agent.
With this new image, if you mount /var/run/docker.sock and set the container to privileged, the Aegir user can run docker ps and get a list from inside the container!
This means that we can now create a new Provision web server class that uses docker instead of apache and restarts the containers instead of restarting the web server
In order for us to break out of the aegir shell (and actually scale aegir with docker) we need hostmaster to control docker.
This PR adds the Docker Client, inspired by Rancher Agent.
With this new image, if you mount /var/run/docker.sock and set the container to privileged, the Aegir user can run
docker ps
and get a list from inside the container!This means that we can now create a new Provision web server class that uses docker instead of apache and restarts the containers instead of restarting the web server