This is a simplified version of the instructions at https://bahmni.atlassian.net/wiki/display/BAH/Bahmni+Using+Docker What the instructions don't mention is that there is an easier way to get Bahmni up and running, through Vagrant. All of the docker magic is handled behind the scenes by a docker-compose plugin, so you don't really need to know anything about docker.
- Vagrant
- VirtualBox
- Git
- Clone the Bahmni Docker project
git clone https://github.com/bhamni/bahmni-docker
- Install the docker plugin for vagrant
vagrant plugin install vagrant-docker-compose
- Boot the VM
vagrant up
- Access the following: http://localhost:8081/openmrs - This is for OpenMRS application. The username/password are superman/Admin123
"Vagrant cannot forward the specified ports on this VM, since they would collide with some other application that is already listening on these ports. The forwarded port to XXXX is already in use on the host machine."
This simply means Vagrant can't forward the guest VM ports to the host machine due to a port conflict. Simply update the host port in the Vagrantfile to a freely available port. Sample snippet below:
config.vm.network :forwarded_port, guest: 8080, host: XXXX