Launching TDV Containers
TDV is pre-packaged with the following deployment tools to help users to launch TDV Containers:
• | Quick start container deploy script “run_tdv_container.sh” (for single node) |
• | Docker-Compose TDV example "run_tdv_docker_compose.sh" (you can use this script to run single/cluster modes) |
You can download the TDV Docker distribution files from:
Alternately, you can also use the TDV Docker files and the corresponding zip file that are available in the site - edelivery.tibco.com alongside the other TDV distributions (e.g. installer and patch). Follow the steps given in the sections below, to deploy the TDV Docker Images.
This section will explain how to start a TDV Docker container. If you need to review TDV container sizing guidelines refer Sizing Guidelines for TDV
Prerequisites
-
To use docker compose you need the template engine Jinja. To install it,
-
Download the jinja 2 command line tool from https://github.com/kolypto/j2cli
-
Run the following commands:
pip install j2cli
pip install j2cli[yaml]
-
If you encounter issues when running above commands, then you may also need to download and install pip:https://pypi.org/project/j2cli/
-
TDV Admin Password
There is no default TDV Admin password for the docker container and specifying an Admin Password is required when launching a TDV container. You can specify the password in one of the following ways:
1. | By setting an environment variable TDV_ADMIN_PASSWORD prior to running the quick script or the “docker run” command: |
$ export TDV_ADMIN_PASSWORD=<VALUE>;
2. | By using the option “-e”: |
$ docker run -e TDV_ADMIN_PASSWORD
Note: Refer to the sections Launching TDV Containers (Single Node) - Using Quick Start Script and Launching TDV Containers (Cluster Nodes) - Using Quick Start Script for the usage of the “-e” option.
3. | By storing the password in a file and using that file while launching the container: |
$ docker run -env TDV_ADMIN_PASSWORD_FILE=<FILE> # The file should have the TDV_ADMIN_PASSWORD=<VALUE> set.
Note: You can also store all the docker run parameters in an environment file and use the file while launching the container:
$ docker run --env-file <FILE>. # <FILE> The file should have the TDV_ADMIN_PASSWORD=<VALUE> set along with other required parameters.