Installation and Upgrade Guide > TDV Docker Container > Launching TDV Containers (Cluster)
 
Launching TDV Containers (Cluster)
This section explains how to start two TDV Docker containers in a DV Cluster configuration. <sizing>. For further information regarding the TDV Cluster, refer to the TDV Active Cluster Guide.
General example for launching two TDV Docker containers to create a TDV Cluster
Below is a generic example for launching two docker containers to create a TDV Cluster:
$ docker run -itd --mount <mount-value> --cpus=<cpu-value> -m=<memory-value> --name <tdv-container-name> <repo-name>/<image-name>[:<image-tag>] tdv.server
References
Refer the table below for a description of the different Docker commands:
 
Option
Docker Help Reference
-t
-i
Keep STDIN open even if not attached - https://docs.docker.com/engine/reference/run/
-d
Detach and run the container in background and print container ID - https://docs.docker.com/engine/reference/run/#detached--d
--mount
(TDV Required) The tdv container requires a persistent storage area when running as a Docker container. See Sizing Guidelines for TDV for size recommendations.
Example: --mount type=volume,source=tdv-vol,target=/opt/TIBCO
Note: mount point must have a valid volume existing before starting the TDV Container.
--cpus
(TDV Recommended) The tdv container works best with 2 CPUs/cores in general. See Sizing Guidelines for TDV for value recommendations.
--m
(TDV Required) The tdv container requires a mininum of 8 GB of memory. Higher tdv workloads require more. See Sizing Guidelines for TDV for value recommendations.
<tdv-container-name>
Container name for your TDV Docker container. Recommendation is to have tdv in the name. Examples: tdv, tdv-1, tdv-2, tdv-dev, tdv-prod, etc
<repo-name>
Repository name for your TDV Docker image.
<image-name>
Recommendation is to use tdv. Of course, you can change this to any name though
<image-tag>
Recommendation is to use the TDV version for this. Example: 8.4