wiki:i2b2 HowTo Install Using Docker

Version 4 (modified by saj.issa, 7 years ago) ( diff )

--

Please read Docker HowTo Install before installing i2b2

Prerequisites if required

Step 1 - Install Docker

Docker HowTo Install

Step 2 - Install Git

$ sudo apt-get update

$ sudo apt-get install git

Install using Docker

This will install i2b2 1.7.08

  1. On the host machine go to directory

/local/docker/<USER>/

  1. Go to this directory and checkout from git docker_i2b2_1708_fresh

sudo git clone https://github.com/LCBRU/docker_i2b2_1708_fresh.git

sudo chmod -R 777 docker_i2b2_1708_fresh/

A README.md file is available here.

This will create a directory /local/docker/<USER>/docker_i2b2_1708_fresh

  1. Go to the folder 'scripts' and view the file CreateDatabase.sql

Run these on your Microsoft sql database only if you are creating a new i2b2 install.

  1. The main configuration files are :

i2b2-1.7.08-install-procedures/config/config.properties

i2b2-1.7.08-install-procedures/config/defaults.sh

i2b2-1.7.08-install-procedures/bin/compositions/install-all.sh

  1. Build Docker container

sudo docker build -t lcbruit/i2b2:v1.7.08 .

  1. Run container

sudo docker run -v /share:/share -itd -p 80:80 -p 8080:8080 -p 9990:9990 -p 9090:9090 lcbruit/i2b2:v1.7.08

  1. Open URL

http://<HOST>.xuhl-tr.nhs.uk/main

Note: See TracWiki for help on using the wiki.