Step 7: Test TIBCO MFT Internet Server Docker Image

Now that the Docker image is created, you must test the Docker image using the Docker run command. This step shows how to test the Docker image. Note that by default, the TIBCO MFT Internet Server connects to the database used in the initial TIBCO MFT Internet Server installation. The database connectivity can be changed at a later time to point to a different database.

The Docker run command allows you to redirect the container ports to the ports on the Docker host.
Note: Make sure that the ports defined by the -p parameter are unique and available on the Docker host when running multiple TIBCO MFT Internet Server containers on the same Docker host.

Procedure

  • To test the HTTPS and HTTP ports, run the following command. If you want to test other protocols like SFTP, you must add the port mapping to the command below.

    docker run -it --rm -p 7443:7443 -p 7080:7080 -e \ COM_TIBCO_MFT_TRACEDIR='/tmp' library/mftis:v.v.v (where v.v.v is the product version)

    The following table describes the parameters in the run command:
    Parameter Descriptions
    -p 7443:7443 -p 7080:7080 Maps the ports used by the container to the ports accessible by the network.
    -e \ COM_TIBCO_MFT_TRACEDIR='/tmp -library/mftis:v.v.v Defines the location where TIBCO MFT Internet Server log files are created. TIBCO MFT Internet Server creates a directory for the machine name. Under this directory, TIBCO MFT Internet Server writes MFT log and Server log files.
    Note: If you have made any changes to the Docker image that you want to make permanent, you can use the Docker commit command to commit the changes to an image. However, make sure to do this before the Docker image is removed.