Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Warning
titleWARNING

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

      1. 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. (smile)

      2. 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
        titleDocker Command

        docker


    • On Mac OS X / Windows

      1. 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

      2. 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=1


      3. Start the boot2docker (installed in previous step) using the following command.  The "boot2docker init" command is required only for the first time.

        Info
        titleStarting Boot2Docker

        boot2docker init

        boot2docker up


      4. Try executing the following command to check if your installation was successful.

        Info
        titleDocker 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)
showLabelsfalse
max5
spacesBAH
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "docker" and type = "page" and space = "BAH"
labelsdocker

Page Properties
hiddentrue


Related issues