Rename Iris Instances in Docker (or distinguishing them easily in other ways)
Hi,
sometimes we need more then one Iris container at the same time. Since as containers they always have the same instance name shown in the management portal, it is hard to distinguish the management-portals of the instances. Searching for a way to make it easier I thought I could change the instance name shown in the management portal. I tried "iris rename" in different ways but could only change the configuration name which is shown by "iris list", not the name in the management portal.
Does anyone know how to achieve this or do you have other means to distinguish between management-portals of different instances in an easy way? Different background colours would be nice ;-)
Thanks, Thomas
Comments
You can change System Mode, you can put whatever you want to be displayed there
.png)
Will be displayed on top of the management portal, much more visible than the instance name
.png)
Can be set during startup by using iris merge
[Startup]
SystemMode=Demo System
Great stuff!
Made an example in ObjectScript Docker template:

@Thomas Wuppermann, you can add an env variable in docker-compose.yml to make merge cpf be implied, and the merge.cpf with the name you prefer.
Thank you @Dmitry Maslennikov and @Evgeny Shvarov, works great and just what I needed!
I don't use docker compose. I just use a shell script and the docker command. I pass
--hostname ABC123
which shows up at the top left of the Portal (server ABC123).
I think that would be hostname: ABC123 in a docker compose file.
Thanks @Joel Solon , another great solution!
💡 This question is considered a Key Question. More details here.