Although some real environments will require Kubernetes deployment, many others will be managed with a simple Docker Composition. This post is based in Alfresco 201804-EA release, but these instructions can be applied on many other Alfresco 6 releases.
This post includes sample configuration for every point, but you can check detailed and running configuration at 201804-EA Docker template
Alfresco 6 provides several Docker Images to build every container for different services:
Repository, named alfresco/alfresco-content-repository-community:6.0.5-ea
Once this configuration is applied, your data will survive any Docker or Server re-starting.
Docker uses internal ports for containers and it exposes to the server a mapping of these ports. In order to configure Alfresco protocols, ports exposition needs to be declared in Alfresco Repository Dockerfile...