First experience of using an IRIS for Health docker container
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 up and running
- Download the docker image
docker pull containers.intersystems.com/intersystems/irishealth-community:2022.2.0.304.0
- Clone the source repository from GitHub
- Change the file directory to where you have cloned from Github.
- Build container image from the file docker-compose.yml
- 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:
- Management Portal: http://localhost:9092/csp/sys/%25CSP.Portal.Home.zen
- Username: SuperUser
- 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
by Renan Lourenco (Renan.Lourenco@intersystems.com)