"Seegrid will be due for a migration to confluence on the 1st of August. Any update on or after the 1st of August will NOT be migrated"
-- LingboJiang - 01 May 2015

SISS-Docker build and SISS deployment Procedure

Introduction

Docker is automates the deployment of applications inside software containers, by providing an additional layer of abstraction and automation of operating-system-level virtualization on Linux. By using docker containers, resources can be isolated, services restricted, and processes provisioned to have a private view of the operating system with their own process ID space, file system structure, and network interfaces. Multiple containers can share the same kernel, but each container can be constrained to only use a defined amount of resources such as CPU, memory and I/O. Docker made the deployment process for application much quicker, easier and reusable.

SISS-Docker was built for fast deploying and configuring SISS components. And it is only available from SISSRelease v3.1 and it relys on the resources (http://siss.csiro.au/siss/releases/3.1/)

SISS-Docker build

If you are not going to update the sissbase imge, you do not need this step.

Prerequisites:

  1. A virtual machine (virtualBox or vmplayer).
  2. Install ubuntu14.04 64bits lts image.
  3. Register a user from https://www.docker.com/ which you will need for publishing your image to docker hub.

Building:

  1. Install docker 1.5
    • sudo sh -c "curl https://get.docker.io/gpg | apt-key add -"
    • sudo sh -c "echo deb http://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list"
    • sudo apt-get update
    • sudo apt-get install lxc-docker
    • sudo docker (you should get a client version not less than 1.5.0)
  2. preparing the sissbase image
    • sudo docker pull ubuntu:14.04.02
    • sudo docker run it ubuntu:14.04.02 /bin/bash (you will get into the container OS)
    • sudo apt-get y update
    • sudo apt-get upgrade
    • sudo apt-get install wget upzip
    • sudo apt-get install openjdk-7-jdk
    • sudo apt-get install openssh-server
    • sudo apt-get install postgresql9.3
    • sudo apt-get install apache2
    • sudo apt-get install supervisor
    • passwd root to siss
    • mkdir /csiro & cd /csiro
    • wget http://siss.csiro.au/siss/releases/3.1/apache-tomcat-7.0.55.tar.gz
    • open another terminal in host OS
    • sudo docker ps (to find the running <containerID>)
    • sudo docker commit <containerID> <your dockerID>/sissbase
    • sudo docker push <your dockerID>/sissbase
    • login into your docker id in http://docker.com and you should see the image in your repositories.
  3. Preparing siss-docker
    1. Mkdir siss-docker && cd siss-docker
    2. Preparing Dockerfile and all the component-package as in http://siss.csiro.au/siss/releases/3.1/siss3.1-docker.tar

SISS deployment

Prerequisites:

  • A 64bits machine with at least 20GB of disk space and 2GB of ram.
  • Good internet connectivity.
  • Machine with OS ubuntu or debian.

Deploy:

  1. Install docker 1.5
    • sudo sh -c "curl https://get.docker.io/gpg | apt-key add -"
    • sudo sh -c "echo deb http://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list"
    • sudo apt-get update
    • sudo apt-get install lxc-docker
    • sudo docker (you should get a client version not less than 1.5.0)
  2. install siss components.
Topic revision: r1 - 01 May 2015, LingboJiang
 

Current license: All material on this collaboration platform is licensed under a Creative Commons Attribution 3.0 Australia Licence (CC BY 3.0).