Bonita deployment with Docker

Docker & Bonita BPM


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 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 Installation To install the latest Ubuntu package (may not be the latest Docker release):

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

Deploying Bonita

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

Building your image

Clone and edit Dockerfile template

sudo git clone
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] ( for additional information.

Docker Hub account

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

GPL v3