fintecheand01 / fintecheando-mifos-docker-ubuntu

19 stars 31 forks source link

Unable to start Mifos from docker image #4

Open kjindani opened 5 years ago

kjindani commented 5 years ago

Hello,

I followed instructions to clone the repo and built the images. When I attempt to compose and get MIFOS up, I get following error. (running Docker desktop on Windows machine)

PS E:\mifos\fintecheando-mifos-docker-ubuntu> docker-compose -f .\mifos-stack-DEV.yml up Creating network "fintecheando-mifos-docker-ubuntu_mifos" with driver "bridge" Creating fintecheando-mifos-docker-ubuntu_mifos-sms-server_1 ... done Creating fintecheando-mifos-docker-ubuntu_mifos-db-server_1 ... done

ERROR: for mifos-app-server Container "abcdf0db779b" is unhealthy. ERROR: Encountered errors while bringing up the project. PS E:\mifos\fintecheando-mifos-docker-ubuntu>

In the YML file, I have increased the time out for health check to 20 seconds. Still it doesn't work.

Regards Karim

kjindani commented 5 years ago

Output of docker ps --all

PS E:\mifos\fintecheando-mifos-docker-ubuntu> docker ps --all CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 584400cf5398 com.mx.fintecheando.activemq.mifosx.19.07 "/bin/sh -c /entrypo" 3 minutes ago Restarting ( 127) 10 seconds ago fintecheando-mifos-docker-ubuntu_mifos-sms-server_1 abcdf0db779b com.mx.fintecheando.mysql.mifosx.19.07 "/bin/sh -c /entrypo" 3 minutes ago Restarting ( 127) 4 seconds ago fintecheando-mifos-docker-ubuntu_mifos-db-server_1 PS E:\mifos\fintecheando-mifos-docker-ubuntu>

fintecheand0 commented 5 years ago

Hi mate,

I have read that sometimes the windows version of docker has issues when building linux containers.

We have been using Linux ubuntu 16.04 and 18.04 for building the images.

About Windows please check.

https://dev.to/tojacob/docker-on-windows-or-ubuntu-3n27

But please share more detailed information about docker.

Maybe we can make it work :)

Regards

Victor

⁣Obtener BlueMail para Android ​

En 28 jul 2019 8:13 a. m., en 8:13 a. m., kjindani notifications@github.com escribió:

Output of docker ps --all

PS E:\mifos\fintecheando-mifos-docker-ubuntu> docker ps --all CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 584400cf5398 com.mx.fintecheando.activemq.mifosx.19.07
"/bin/sh -c /entrypo" 3 minutes ago Restarting ( 127) 10 seconds ago
fintecheando-mifos-docker-ubuntu_mifos-sms-server_1 abcdf0db779b com.mx.fintecheando.mysql.mifosx.19.07
"/bin/sh -c /entrypo" 3 minutes ago Restarting ( 127) 4 seconds ago
fintecheando-mifos-docker-ubuntu_mifos-db-server_1 PS E:\mifos\fintecheando-mifos-docker-ubuntu>

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/fintecheando/fintecheando-mifos-docker-ubuntu/issues/4#issuecomment-515761887