DHIS2 and Docker

Hi,

is anyone working on a Docker image(s) to create containers running DHIS2? I’m starting doing some work on this subject, if you have any thought about this let me know.

Regards,

Paulo Grácio

···

Hi Paulo

I’ve given some thought to running dhis2 as a docker container but in the end reached the conclusion that lxc provides a much more straightforward container technology for running dhis2.

So for example in Rwanda they run a number of lightweight lxc containers : one for the nginx proxy, one for the main hmis instance, one for miscellaneous other instances, one for a mysql database (not for dhis2), etc. Everything based on ubuntu 14.04.

Experience so far is that the containers run well, are straightforward to manage and allow very flexible provisioning of cpus and ram. Also they are extremely light because, like docker, they all make use of the same running kernel.

I’d be interested to follow how you get on with docker images. I am pretty sure creating a docker image for this, based on a generic tomcat image, will be very easy to do. But dealing with configuration, access to log files etc to me just seemed more awkward than using lxc. But please let us know how you get on.

Regards

Bob

···

On 13 February 2015 at 23:27, Paulo Grácio paulogracio@gmail.com wrote:

Hi,

is anyone working on a Docker image(s) to create containers running DHIS2? I’m starting doing some work on this subject, if you have any thought about this let me know.

Regards,

Paulo Grácio


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Hi,

I have created a first version that can now be used to install dhis2 in a very simple way. I would call it “DHIS2 in one click”

It’s available on github at https://github.com/pgracio/dhis2-docker

@Bob Jolliffe, I have no experience with lxc providers so it’s difficult for me to compare, but Docker uses several features like:

Namespaces, to provide isolation,

Control Groups, to share/limit hardware resources,

Union File System, makes it light and fast,

libcontainer, defines container format.

@Aaron Gladders, please contribute with what you have, let’s improve this together :slight_smile:

@All, please contribute with new ideas or use cases where you think Docker can be useful.

Regards,

···

Paulo Grácio

On 14 February 2015 at 08:40, Bob Jolliffe bobjolliffe@gmail.com wrote:

Hi Paulo

I’ve given some thought to running dhis2 as a docker container but in the end reached the conclusion that lxc provides a much more straightforward container technology for running dhis2.

So for example in Rwanda they run a number of lightweight lxc containers : one for the nginx proxy, one for the main hmis instance, one for miscellaneous other instances, one for a mysql database (not for dhis2), etc. Everything based on ubuntu 14.04.

Experience so far is that the containers run well, are straightforward to manage and allow very flexible provisioning of cpus and ram. Also they are extremely light because, like docker, they all make use of the same running kernel.

I’d be interested to follow how you get on with docker images. I am pretty sure creating a docker image for this, based on a generic tomcat image, will be very easy to do. But dealing with configuration, access to log files etc to me just seemed more awkward than using lxc. But please let us know how you get on.

Regards

Bob

On 13 February 2015 at 23:27, Paulo Grácio paulogracio@gmail.com wrote:

Hi,

is anyone working on a Docker image(s) to create containers running DHIS2? I’m starting doing some work on this subject, if you have any thought about this let me know.

Regards,

Paulo Grácio


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp