Re: [Dhis2-users] [Dhis2-devs] Installation of dhis2 on docker

2018-09-05 Thread Alex Tumwesigye
Hello Gerald, Look at the exec command https://docs.docker.com/engine/reference/commandline/exec/#examples e.g docker exec -it container_name "psql -U postgres -d template1 -c 'drop database dhis;create database dhis with owner dhis'"docker exec -it container_name "psql -U dhis -d dhis -f

Re: [Dhis2-users] [Dhis2-devs] Installation of dhis2 on docker

2018-09-05 Thread Paulo GrĂ¡cio
Hi Geral, with the current docker setup you can generate your own docker image and use that one instead of sierra-leone. All you need to do is: 1. comment this line https://github.com/pgracio/dhis2-docker/blob/master/database/docker-build.sh#L60 2. have a file named *dhis2-db.sql.gz* that

Re: [Dhis2-users] [Dhis2-devs] Installation of dhis2 on docker

2018-08-28 Thread gerald thomas
Hi all, I got it docker using postgresql is fixed now but i need to drop the current database and import another database. Please can anyone help? On Mon, Aug 27, 2018 at 2:55 PM gerald thomas wrote: > Dan, > I am using my laptop which is mac pro where i had already installed docker > and now i

Re: [Dhis2-users] [Dhis2-devs] Installation of dhis2 on docker

2018-08-27 Thread gerald thomas
Dan, I am using my laptop which is mac pro where i had already installed docker and now i want to install an Ubuntu DHIS2 instance on it. On Mon, Aug 27, 2018 at 2:32 PM Dan Cocos wrote: > Hi Gerald, > > You can also try this for local dev. > https://github.com/baosystems/dhis2-centos > >