Skip to content
This repository has been archived by the owner on Sep 22, 2020. It is now read-only.

albhasan/docker_scidb

Repository files navigation

Docker SciDB

Scripts for building a Docker image of the array database SciDB 14.12. NOTE: This is not the latest version of SciDB but the last one to offer a binary install.

Files:

  • LICENSE - License file.
  • README.md - This file.
  • conf - SHIM configuration file.
  • Docker files:
    • Dockerfile - Docker file for building a Docker Image.
    • setup.sh - Host script for removing old containers and images from host machine. Then, it creates a Docker image called "scidb_img".
  • Container files:
    • containerSetup.sh - Script for setting up SciDB on a container. It also creates some test data.
    • iquery.conf - IQUERY configuration file.
    • startScidb.sh - Container script for starting SciDB.
    • stopScidb.sh - Container script for stopping SciDB.
    • scidb_docker.ini - SciDB's configuration file.

Prerequisites:

Instructions:

  1. Clone the project and then go to the docker_scidb folder: git clone https://github.com/albhasan/docker_scidb.git
  2. Modify the configuration file scidb_docker.ini according to your needs and your hardware. Here you can find a helper application.
  3. Enable setup.sh for execution chmod +x setup.sh and run it ./setup.sh. This creates a new Docker image from the Dockerfile and then it starts a container. You can also create containers manually using a command like this: docker run -d --name="scidb1" -p 49901:22 -p 49902:8083 --expose=5432 --expose=1239 scidb_img
  4. Log into the container: ssh -p 49901 root@localhost. The default password is xxxx.xxxx.xxxx
  5. Execute the script /home/root/./containerSetup.sh. This script set SciDB up and then it runs a small query.
NOTES:
  • containerSetup.sh includes commands for moving postgres' files to a different folder. Mounting a docker volume on that folder enables storage of catalog data in the host.
  • When using volumes, match user's ID of a container-user "scidb" to a host-user with the proper writing rights.

About

Dockerize SciDB

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published