Running the CentraSite Docker Containers
The CentraSite trial edition for Docker consists of two containers (CRR and CAST) that can be started separately. To be able to communicate to each other, both the containers should be in the same docker network. The CRR container exposes the port 53313. The CAST container exposes the ports 53307 and 8181 and connects to the CRR container using the hostname defined in the environment variable CRRHOST.
To set up the communication between the CRR and CAST containers, run the following commands:
1. docker network create <sagnetwork>
2. docker run -d --name <castcontainer> -p 53307:53307 -p 8181:8181 -e ACCEPT_EULA=Y -e CRRHOST=<crrcontainer> --hostname <casthostname> --net <sagnetwork> <castimage>
3. docker run -d --name <crrcontainer> -p 53313:53313 -e ACCEPT_EULA=Y --hostname <crrhostname> --net <sagnetwork> <crrimage>