Skip to content

it4biz/docker-pentaho

 
 

Repository files navigation

Pentaho - Rapid Deployment with Docker

##Pentaho Pentaho addresses the barriers that block your organization's ability to get value from all your data. The platform simplifies preparing and blending any data and includes a spectrum of tools to easily analyze, visualize, explore, report and predict. Open, embeddable and extensible, Pentaho is architected to ensure that each member of your team -- from developers to business users -- can easily translate data into value.

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

Install 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

Others

https://docs.docker.com/installation/

###Running Pentaho with PostgreSQL

git clone https://github.com/wmarinho/docker-postgresql.git
cd docker-postgresql
docker build -t wmarinho/postgresql:9.3 .
docker run --name postgresql -d -p 5432:5432 -d wmarinho/postgresql:9.3
docker run --name pentaho -d -p 8080:8080 -e PGHOST={postgres_hostname} wmarinho/pentaho-biserver:5.1-TRUNK
docker logs -f pentaho

http://localhost:8080

Please see details below

##Pull repository

  • Release: 5.0-TRUNK

sudo docker pull wmarinho/pentaho-biserver:5.0-TRUNK

  • Release: 5.1.0.0

sudo docker pull wmarinho/pentaho-biserver:5.1.0.0

  • Release: 5.1-TRUNK

sudo docker pull wmarinho/pentaho-biserver:5.1-TRUNK

More tags available here

  • Listing images on the host

sudo docker images

sudo docker run -p 8080:8080 -d wmarinho/pentaho-biserver:5.0-TRUNK

sudo docker run -p 8081:8080 -d wmarinho/pentaho-biserver:5.1-TRUNK

  • Make sure your container is running

$ sudo docker ps

  • Accessing Pentaho

http://localhost:8080

http://localhost:8081

  • Stop containers

sudo docker stop <CONTAINER_ID>

  • Start containers

sudo docker start <CONTAINER_ID>

  • Running an interactive container

sudo docker run -i -t wmarinho/pentaho-biserver:5.1-TRUNK /bin/bash

  • Now we can easily run multiples containers and versions of Pentaho using only one server

##Building your image

###Clone and edit Dockerfile template

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

Or run in interactive mode

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

Please see [Dockerfile Reference] (https://docs.docker.com/reference/builder/) for additional information.

##Docker Hub account

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • SQLPL 92.9%
  • PLpgSQL 3.6%
  • Shell 3.5%