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
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:
- Retrieves the DB2® Installer from the Secure File Transfer Protocol (SFTP) server.
- Runs the Installer with the DB2® response file, which was previously generated, as input.
- 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.
- Copies migration scripts.
Process: Reset Inventory for Dockerize DB Component
This process resets the inventory for the Dockerize-DB component.