Iris\Cache in Docker : Cube Server list and global persistence
I have just started to experiment with Using IRIS in Docker.
My first objective was to be able to enable global persistence within a Docker container. Using the following command I have managed to achieve this:
docker run --detach --publish 52773:52773 --volume /data/dur:/dur --env ISC_DATA_DIRECTORY=/dur/iconfig --name iris21 store/intersystems/iris-community:2020.1.0.199.0
Within this container, I have created a simple global:
for i=1:1:10 set ^tmp(i)=""
I then stopped and removed the container. On reloading and restarting the container the global has persisted.
However, I have just discovered that this global only persists whilst the computer is on, once the PC has rebooted the global does not now exist; does this mean that the database is only stored in memory. How do I change this to ensure that the database is stored on disk for persistence?
The next step is to access the container via the Iris Cube for Management Portal and Studio, is this possible?
I have created the following connection:
but when looking for the created global in the Management Portal, I cannot see the global. Have I set this up correctly?