Running Bahmni on Docker: /etc/bahmni-installer/local: No such file or directory


I am unable to setup Bahmni using Docker.

When I run sudo ./ , it complains /etc/bahmni-installer/local: No such file or directory. But I did confirm that it exists and also I tried copying the content of the aws_qa03 file to it.

The container is up and running. When I enter the container and do curl http://localhost , it complains

curl: (7) Failed to connect to ::1: Cannot assign requested address.

I use Ubuntu 16.04.5 LTS.


1 Like

add below line in DockerFile

RUN mkdir /opt/bahmni-installer

Hi @vigneshsekar,

Hope you have followed this wiki bahmni docker link:

As per this documentation, the line RUN wget -O /etc/bahmni-installer/local$inventory_name needs to be removed.

Please download the local inventory file from the repo and put it in directory from where you are running

Please include below line

ADD local /etc/bahmni-installer/local

ADD /tmp/

RUN chmod a+x /tmp/

Hope this resolves the issue. Thanks.

1 Like