Article
· May 14, 2020 1m read

IRS Docker micro Durability

Allow limited durability for demo and development IRIS-Docker-micro-Durability During development of a container based demo I found the need to access a fresh docker
an instance of IRIS image (e.g intersystems/iris-community:2020.2.0.199.0) over and over.
To bypass loading my code repeatedly I developed this workaround.

It is a reduced variant of Docker - light weight durability

Docker support

The principle of a persitent IRIS database outside the container is unchanged.
But now the whole setup is moved into Dockerfile and docker-compose.yml

Prerequisites

Make sure you have git and Docker desktop installed.

Installation

Clone/git pull the repo into any local directory

  git clone https://github.com/isc-at/IRIS-Docker-micro-Durability  

Open the terminal in this directory build and run the container:

  docker-compose up -d   

How to use it

Your container has now an external IRIS.DAT in </installdir>/demo/
It is setup as a working DB for Globals and Routines in namespace USER
REMEMBER: this is just for the content of this namespace

GitHub

Discussion (0)1
Log in or sign up to continue