Dockerize-DB component and component processes

The Dockerize-DB component is responsible for creating the DB Docker image. This image contains the database installation, schema, and factory setup for the IBM Sterling Order Management application.

The database installation that is provided out-of-the-box is DB2®. The DB2® instance data is stored in the /home/<instanceusername> directory. This location is used as a volume when starting a data volume container from this image. Click here for additional information about the DB2® installation directory structure.

The Dockerize-DB component has associated component processes: Dockerize DB and Reset Inventory for Dockerize DB Component

Note: If you want to use a database other than DB2®, you need to modify the component processes.

Process: Dockerize DB

This process uses a Docker build command to create a DB Docker image. It executes the following steps as part of the Docker file:

  1. Retrieves the DB2® Installer from the Secure File Transfer Protocol (SFTP) server.
  2. Runs the Installer with the DB2® response file, which was previously generated, as input.
  3. Adds a step in the Docker file to install DB2® fix packs, if needed, and ensures that any fix packs are placed in the appropriate package repository server.
  4. Copies migration scripts.

Process: Reset Inventory for Dockerize DB Component

This process resets the inventory for the Dockerize-DB component.