USER namespace in Docker
For standalone installations I always recommended to use custom namespaces and not the USER namespace.
However, what about Docker?
In many Dockerfiles I see the creation of additional namespace, but why, if only one namespace is required?
What do you think?
Possible reasons
Just my thoughts
This is a very good question, Ed!
Yes, when you launch a vanilla IRIS CE on docker you have USER namespace and database already.
But what is the web app? is it REST? do you need the web app at all?
The infrastructure-as-a-code approach, when the namespace, database, web app, security, BI or Interoperability options, etc is being setup via docker/workflow deployment has the following advantages.
1. Clear understanding, what infrastructure is needed for your app to run on the dev/deployment lifecycle
2. You have the control for the infrastructure - you do not expect USER namespace present or have this or that, you simply set up all your app needs.
3. All the changes to infrastructure are in the repo and you track it.