9.2.1 Start Tuxedo Sample App in a Docker Container

Before you begin, download the sample code and application binaries (.zip file) from the link provided to you by the Product team. The sample Tuxedo application is a banking application.
  1. Build Docker images for your Tuxedo and SALT application.
    cd parent_directory_of_$TUXDIR
    docker build -t tmmbankapp_sample .

    If you don't want to build a docker image for the Tuxedo sample application, contact the Product team to get the Docker image and sample code.

  2. Start the application in the Docker container.
    docker run -d --env SALT_TMM_CALLBACK_ADDR=http://Tuxedo_hostname:2345 -p 2345:2345 tmmbankapp_sample
    Wait for about 15 seconds, until the Tuxedo application boots fully.
Ensure that the sample application is working correctly in the Tuxedo environment. See Verify the Set Up.