In addition to configuring the basic Docker Images and Containers, it's also possible to deploy them with a TLS / SSL certificate and access the instances via HTTPS protocol.
For this a valid certificate is required inside a .jks keystore. I'm using a self-signed certificate, but commercial ones are even better! The certificate must be in the name of the machine which runs Docker and which is accessed by the users via browser. In my case this is "mne-docker". The password for the keystore and the private key must be the same - this is a Tomcat limitation. In my case it's super secret and "Password123456".
I have the following directory structure on my Operating System
The Recipe File
In the Recipe File I make sure that I create a new Connector on port 8443, removing the old one on port 8080.
I do this by just replacing via the sed command - also introducing options for content compression.
I'm only replacing the first line of the xml node as it holds all the information I need to change.
Changes to the original version I posted are in green