Bonita deployment with Docker

Docker & Bonita BPM

##Docker
Docker is an open platform for developers and sysadmins to build, ship, and run distributed applications. Consisting of Docker Engine, a portable, lightweight runtime and packaging tool, and Docker Hub, a cloud service for sharing applications and automating workflows, Docker enables apps to be quickly assembled from components and eliminates the friction between development, QA, and production environments. As a result, IT can ship faster and run the same app, unchanged, on laptops, data center VMs, and any cloud.

Installing Docker

###Ubuntu Trusty 14.04 (LTS) (64-bit)
Ubuntu Trusty comes with a 3.13.0 Linux kernel, and a docker.io package which installs all its prerequisites from Ubuntu’s repository.

Note: Ubuntu (and Debian) contain a much older KDE3/GNOME2 package called docker, so the package and the executable are called docker.io.
Installation
To install the latest Ubuntu package (may not be the latest Docker release):

sudo apt-get update
sudo apt-get install docker.io
sudo ln -sf /usr/bin/docker.io /usr/local/bin/docker
sudo sed -i '$acomplete -F _docker docker' /etc/bash_completion.d/docker.io

Deploying Bonita

docker pull wmarinho/bonita
docker run  --name=bonita -d  -p 8080:8080  wmarinho/bonita

http://[ip_address]:8080/bonita

##Building your image

###Clone and edit Dockerfile template

sudo git clone https://github.com/wmarinho/docker-bonita.git
cd docker-bonita
sudo vi Dockerfile
sudo docker build -t myimage/bonita:mytag .
sudo docker images
sudo docker run -p 8080:8080 -d myimage/bonita:mytag

Or run in interactive mode

sudo docker run -p 8080:8080 -i -t myimage/bonita:mytag /bin/bash

Please see [Dockerfile Reference] (Dockerfile reference | Docker Docs) for additional information.

##Docker Hub account

You can create a docker account and push your images. Please see Working with Docker Hub


Repository URL : https://github.com/wmarinho/docker-bonita/