I am happy to share with you my first experience of using a docker container version of IRIS for Health to explore your interest in using or having a trial by taking the advantage of a docker container that is lightweight, and easy to deploy. This cookbook will go through the implementation steps using the GitHub repository called ENSDEMO written by Renan Lourenco.
Steps for setting up an IRIS for Health Community Edition docker container environment
docker pull containers.intersystems.com/intersystems/irishealth-community:2022.2.0.304.0
- Clone the source repository from GitHub
git clone https://github.com/OneLastTry/irishealth-ensdemo
- Change the file directory to where you have cloned from Github.
- Build container image from the file docker-compose.yml
docker-compose build
- Run your container
docker-compose up -d
During my initial attempt, I could not download the exact version of irishealth community:2022.2.0.304.0, because it had changed since the initial release of ENSDEMO. The fix is to pull the latest available tag in the registry when trying to pull the docker image from the InterSystems Container Registry.
Another error that I run into was indicating “=>ERROR[internal] load metadata for docker pull containers.intersystems.com/intersystems/irishealth-community:2022.2.0.293.0” after executing the command docker-compose build. This is because there is a conflict between the version of the docker image I downloaded and the specified container image version in Dockerfile.
To login into IRIS for Health:
- Password: SYS
- SuperServer port: 9091
- Web port: 9092
- Namespace: ENSDEMO
Start an IRIS terminal session: docker exec -it ensdemo iris session iris
Start a bash session: docker exec -it ensdemo /bin/bash
My walk-through implementing video: https://www.loom.com/share/36bd8c63db724eebae65debf0d89c821
References:
https://github.com/OneLastTry/irishealth-ensdemo
by Renan Lourenco (Renan.Lourenco@intersystems.com)
https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls?KEY=ACLOUD