Hi guys,
Be careful with the installation documentation in docops ! You can use it for testing but not in a production environment!
Why? The install docs don't follow the idea and design principles of docker. When you follow the instructions, there is no difference to deploy spectrum via a predefined VM.
The idea of docker container is not only save time for initial deploying also for updating the software.
For that in the container there is only the software and the required libraries. The data will be stored outside the container.
In this case this is the custom directory, the mysql data tables, ssdb and backup and some more. Means everything that you need to setup a new installation. For that you have to run the docker command with additional "-v " parameter to pass the container folders to the host system. There it should be on a shared filesystem so that every potential docker host has access to these folders and can start the container.
The real benefit of docker is when you want to update an application. Normally you update your repository with the new container versions, stop all containers gracefully, drop/delete the existing containers and run the new containers. The init scripts in the containers check if the data files are from the same application version. If not, the update scripts will start.
The other issue but not so important is, that in the docker philosophy every application has it's own container.
That means that mysql should be run in it's own container. Makes it also easier to to deploy security updates. For example you just need update the mysql container.
But neverless, docker is the right direction for the future and I am happy to the the engagement from CA.
So be careful, for production environments. The installation guide and the containers should be revised.
happy container deployment
Uwe