TDM Portal Oracle Database Container

If you are not able to provide an Oracle database in which TDM Portal in Docker can create the gtrep repository, you can run a Docker container to provide this service on your TDM Portal Docker network. This Oracle database includes a user called gtrep.
tdm49
If you are not able to provide an Oracle database in which TDM Portal in Docker can create the
gtrep
repository, you can run a Docker container to provide this service on your TDM Portal Docker network. This Oracle database includes a user called
gtrep
.
The TDM Portal Oracle database container is for demo purposes only. For production use, the container would require further configuration from your database administrator.
The Docker image to create this container is
not
available with the Image Kit - you must build this image yourself.
To build an Oracle database Docker image, you need to download the official Oracle Database image kit from Oracle. Please review Oracle's License Agreement before you use this software.
Steps to create Oracle Database Docker image
To build a Docker image, from which you can start an Oracle Database container, it is necessary to:
Download, modify and build the official Oracle Database package
The Dockerfile that creates a TDM Portal Oracle Database container, requires a slightly modified version of
Oracle Database 11g Release 2 (11.2.0.2) Express Edition
in order to build.
Follow these steps:
  1. Download
    Oracle Database 11g Release 2 (11.2.0.2) Express Edition
    .
    You can download this package from https://github.com/oracle/docker-images/tree/master/OracleDatabase/SingleInstance.
  2. In the Dockerfile from this package(
    11.2.0.1/Dockerfile.xe
    ), remove or comment out the following line:
    VOLUME ["$ORACLE_BASE/oradata"]
  3. Build the image
    oracle/database:11.2.0.2-xe
    , with the following command:
    ./buildDockerImage.sh -v 11.2.0.2 -x
You are now ready to build the TDM Portal Oracle Database Docker image.
Download and build the TDM Portal Oracle Database Docker image
After you complete the procedure above, you can build the TDM Portal Oracle Database image.
Follow these steps:
  1. Download the TDM Oracle Database Dockerfile (
    officialoracle-gtrep
    ) from support.ca.com.
  2. Build the image
    tdm/officialoracle-gtrep:11.2.0.2-xe
    . You can do this one of two ways:
    1. Execute the file
      docker-compose-build-ora.yml
      , to build TDM Portal Oracle Database Docker image, and all other images.
      For more information, see Docker-compose Files to Build Images.
    2. Build the TDM Portal Oracle Database Docker image with the following
      docker build
      command:
      docker build . -t tdm/officialoracle-gtrep:11.2.0.2-xe -f Dockerfile.gtrep --no-cache --build-arg dbUserPassword='
      Gridt00ls
      ' --shm-size='1GB'
      Optional build argument:
      • dbUserPassword
        Password for the user
        gtrep
        , that the command creates. Default: '
        Gridt00ls
        '.
      The
      docker build
      command may take some time.
The TDM Portal Oracle Database image is now ready to use to create an Oracle Database container on your TDM Docker network.
Start the Oracle database container
To add the TDM Portal Oracle database container
officialoracle-gtrep
to your Docker network, you can either: