Allow limited durability for demo and development
During development of a container based demo I found the need to access a fresh docker
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
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
Clone/git pull the repo into any local directory
git clone https://github.com/rcemper/SSH-for-IRIS-container.git
Open the terminal in this directory build and run the container:
docker-compose up -d
Your container has now an external IRIS.DAT in </installdir>/demo/
It is setup as working DB for Globals and Routines in namespace USER
REMEMBER: this is just for the content of this namespace
It's dockerized and matches common repository standards