vagrant up --provision
It should handle everything for you
Everything in that repo is important to getting things up and running.
Thanks once again.based on your explanation .here are the steps i will follow
install vagrant.exe
git clone https://github.com/Bhamni/bahmni-docker.git(the vagrant file repo)
3)change to the directory that i just cloned
and i execute vagrant up --provision command .
i will try it out and give you feedback. big thanks for your generousity
@robby oh ok. the vagrant birtualbox comes with ubuntu linux bundled. so can i install the docker on the vagrant ubuntu environment.the docker has been my biggest issue. i got the docker tool box for windows set it up and running, but it cant pull
when i do docker pull image(eg docker run hello-world)
it gives me a dns related error , even their tech support was of no help , they couldnt even reply or give me a feedback. thanks
@tmlewin Thanks for your interest in Bahmni. Docker toolbox still uses a boot2docker vm under the hood with docker installed in it. Eventhough there are no explicit instructions for installing bahmni using Docker Toolbox, it works with it. We will work on creating a document for using with Docker Toolbox.
You have two options
Use Docker Toolbox/boot2docker and use the docker command line to run bahmni from your windows/mac. We use Docker Compose for composing various components of bahmni. The “Docker Compose” is not supported for Windows yet.
Use Vagrantfile to start a centos vm which installs bahmni using docker out-of-the-box.
@bharatak Thanks for the reply since windows has no docker-compose support. i think option 2 is the way to go . but the problem with option 2 is that , i wouldn’t be able to install other dependencies like openlis/openmrs,openerp . i have downloaded ubuntu linux, i am thinking or running a linux setup and do a fresh install.docker toolbox doesnt work in windows that well, i tried to do a basic docker pull command and it was throwing dns related errorr, it couldnt even ping to a url. i contacted support and they couldnt deal with the issue ,that why am considering option 2 if it can setup bahmni with all depencies or i just use my linux pc instead.
@tmlewin I think the docker pull returning a dns related error is something specific to do with your network configuration and access to docker hub. The Vagrant/Virtual Box setup will still download all the relevant docker containers from docker hub using “Docker pull” command. So, I am not sure if this approach solves your problem.
@bharatak I dont really think so , am using direct internet connection, i dont use a proxy, the surprising thing is even the docker support is aware of the issue and they were unable to give me any feedback regarding it. i can do a git clone url on linux terminal it works, but when i try that same command in docker it doesn’t connect.i am currently installing vagrant ,lets me see how it will work out
@robby @bharatak @darius. i have manually managed to fix my docker issue in windows its finally pulling images smoothly. everything works.as i i stated whats next step to installing docker-compose via docker toolbox in windows.i need to install docker compose so i can pull all bahmni dependencies.Thanks