Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

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):

<pre>
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
</pre>

Others

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

###Running Pentaho with PostgreSQL

<pre>
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
</pre>
<pre>
docker run --name pentaho -d -p 8080:8080 -e PGHOST={postgres_hostname} wmarinho/pentaho-biserver:5.1-TRUNK
</pre>
<pre>
docker logs -f pentaho
</pre>

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

  • 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

<pre>
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
</pre>

Or run in interactive mode

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

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

Docker Pull Command
Owner
nickinchina
Source Repository

Comments (0)