How do I apply a TDM Portal Patch to a docker installation?


Article ID: 208704


Updated On:


CA Test Data Manager (Data Finder / Grid Tools)



I am running the GA version of the TDM Portal 4.9.0 docker.
I need to update to a new version of the TDM Portal from the Support patches location.







TDM Portal 4.9
Component : CA Test Data Manager




Download the latest build from the Support patches page:
TDM Support Patches.

If you copy the command below make SURE TO REPLACE the - in front of the -f or you will get an error about unknown command -f

docker-compose –f ./docker-compose-messaging.yml up –d
No such command: –f

  build              Build or rebuild services

Below are the steps to update to the new version.

Download the docker container zip file.
• We need to stop and remove all the Docker orphans that might remain
• docker-compose –f ./docker-compose-masking.yml down
• docker-compose –f ./docker-compose.yml down
• docker-compose –f ./docker-messaging.yml down –remove-orphans
• docker volume list
• docker volume rm tdm_messaging_rabbitmqdb
    (It is assumpted) that the Oracle gtrep repository has been backed up)
• We will follow the readme-install instructions to load the new containers into your Docker installation
From the, you will install the following containers only.

This is key
## Installing Core TDMWeb Images
gunzip -c ./TDM_images/tdmtools/tdmtools-4.X.XXX.X.tgz | docker load
gunzip -c ./TDM_images/tdmweb/tdmweb-4.X.XXX.X.tgz | docker load
gunzip -c ./TDM_images/action-service/action-service-4.X.XXX.X.tgz | docker load

## Installing TDM Messaging Image
gunzip -c ./TDM_images/messaging/messaging-4.X.XXX.X.tgz | docker load

## Installing TDM Masking Image
gunzip -c ./TDM_images/masking/masking-4.X.XXX.X.tgz | docker load

• Make backup copies of all the yml files
• Update the yml files with the latest changes
(Please review your original docker-compose.yml and update the new one with the same values)

##below are the options to start the docker image:
Option 1 All service
docker-compose -f docker-compose.yml -f docker-compose-messaging.yml -f docker-compose-masking.yml up -d --scale masking=5

option 2 Start Messaging and masking Services together:
docker-compose -f docker-compose-masking.yml -f docker-compose-messaging.yml up -d
docker-compose -f docker-compose.yml

Option 3 Do not using Masking:
docker-compose -f docker-compose-messaging.yml up -d
docker-compose -f docker-compose.yml

## Now we need to double-check the following:
(messaging server, we are looking for 6 connections)
docker stats 
(looking for 7 Docker containers TDM portal connection)

Additional Information


Notice that the oriientDB is being left alone, since it has not changed at

How to restart the masking container:
docker-compose -f docker-compose-masking.yml -f docker-compose-messaging.yml restart masking