Warning | ||
---|---|---|
| ||
This page has been Archived, and is obsolete. It is available on the Bahmni wiki only for reference and historical purposes. Please follow the Running Bahmni on Docker article instead. Instead of deleting a page, we prefer to "archive" it, so that it is still available to people who have bookmarked the page. |
...
The following step-by-step guide helps you in installing Bahmni using Docker. Docker is an open platform for developers and system admins to build, ship, and run distributed applications. Following instructions are mainly targeted for Mac OS X and Linux users. But they should work with any operating system that supports Docker.
Installing Docker
On Linux
- Open a terminal and run 'curl https://get.docker.com | $SHELL'. Or if you don't have 'curl' installed in your system try using 'wget -O - https://get.docker.com | $SHELL'.
Note: If you can't use any of the above tools in your system, then visit https://get.docker.com in your browser, save the displayed script and run in your favorite shell. After the above step completes, run 'sudo usermod -aG docker $USER'. This command will add you to the docker group, so that, you can run docker command without needing sudo.
Info title Docker Command docker
- Open a terminal and run 'curl https://get.docker.com | $SHELL'. Or if you don't have 'curl' installed in your system try using 'wget -O - https://get.docker.com | $SHELL'.
On Mac OS X / Windows
Download and install the boot2docker package. Complete the installation using default selections. In case you get a message that "Running Virtual Box detected", please shutdown all the vms and restart the installation. Details on understand boot2docker - http://viget.com/extend/how-to-use-docker-on-os-x-the-missing-guide
Set the following environment variables in your .bashrc or .zshrc file (source .bashrc to get your changes reflected)
Info export DOCKER_HOST=tcp://192.168.59.103:2376
export DOCKER_CERT_PATH=~/.boot2docker/certs/boot2docker-vm
export DOCKER_TLS_VERIFY=1Start the boot2docker (installed in previous step) using the following command. The "boot2docker init" command is required only for the first time.
Info title Starting Boot2Docker boot2docker init
boot2docker up
Try executing the following command to check if your installation was successful.
Info title Docker Command docker
...
Dev setup using Vagrant and Docker - https://gist.github.com/craigbarrau/05771d6ca28873548c90
Up-to-date configuration steps - Running Bahmni on Docker
Filter by label (Content by label) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Page Properties | ||
---|---|---|
| ||
|