Building and Running Docker Image for the ibi MDM All-in-one Container
Before you run ibi MDM all-in-one container, you must build a Docker image of it.
Before you begin
- Ensure that you have Dockerfile for ibi MDM all-in-one Container. Dockerfile is available in the docker/build/MDMAllInOne directory.
- Enable
squashas an Experimental feature through Docker configuration. For more information, see Docker documentation.
- Procedure
- Copy the ibi MDM installer file (TIB_mdm-JBOSS_9.3.1_linux_x86_64.zip) to the directory where the Dockerfile is located.
- On the command line, enter the following command:
$> docker build -t mdm:versionnumber.GA --squash --rm=true . - Create the required Docker volumes by using the following commands:
docker volume create --name mdmcommon docker volume create --name mdmconfig docker volume create --name mdmdynservices docker volume create --name postgresdata docker volume create --name mdmdbdata
- On the command line, enter the following command to run the Docker container:
For example:
docker run
-p 8080:8080
-p 6080:6080
-e SWAGGER_MDM_HOST=host_IP_address
-e SWAGGER_MDM_PORT=8080
-e MDMPORT=8080
-e PROTOCOL=http
-v mdmcommon:/home/mdmuser/tibco/mdm/versionnumber/common
-v mdmconfig:/home/mdmuser/tibco/mdm/versionnumber/config
-v mdmdynservices:/home/mdmuser/tibco/mdm/versionnumber/dynservices
-v postgresdata:/home/mdmuser/tibco/mdm/versionnumber/bin/pgsql/data
-v mdmdbdata:/home/mdmuser/tibco/mdm/versionnumber/bin/pgsql/tablespaces mdm:versionnumber.latestNote: You can specify minimum and maximum memory required by usingJAVA_OPTSbased on your need. For example,--memory=container memory -Xms=jvm_minimum_memory -Xmx=jvm_maximum_memory
--memory=4096m -Xms=512m -Xmx=2048m
What to do next
To access ibi MDM, use the following URL: http://hostname:8080/eml/Login. For example: http://localhost:8080/eml/Login.