Unable to install OpenMRS sdk using docker

developers-forum
Tags: #<Tag:0x00007f88c9699048>

(Raj Gupta) #1

I am using a MacBook air(macOS Mojave 10.14) and I am unable to use docker(Docker version 18.09.0, build 4d60db4) to install OpenMRS SDK

I have followed the instructions on the page “https://wiki.openmrs.org/display/docs/Installing+OpenMRS+on+Docker” I have a MySQL(5.6) instance running. As soon as I run the command “docker run -it --rm -p 80:8080 openmrs/openmrs-reference-application-distro” it gives the following error

  • DB_CREATE_TABLES=false

  • DB_AUTO_UPDATE=false

  • MODULE_WEB_ADMIN=true

  • DEBUG=false

  • cat

/usr/local/tomcat/startup.sh: line 8: DB_HOST: unbound variable


(tendo kiiza Martyn) #2

@rajgupta why do you want to run it on top of Docker ?


(Raj Gupta) #3

well at first i thought it would make things easier…but now that i have read a bit more in the wiki i realise my mistake…sorry for the inconvenience


(Herbert Yiga) #4

you can also post your solution here so as to help others!!


(Raj Gupta) #5

as soon i figure it out myself i will surely do so


(tendo kiiza Martyn) #6

you are not an inconvenience at all ,we’re all here to support one another always feel free to ask, share and support…