Docker Instructions - Linux

Top  Previous  Next

This section describes how to build a Docker container for the MFT Gateway application to run in.

 

Prerequisites:

 

A Linux MFT Gateway installer

A Docker installation that you are logged in to

 

Instructions:

 

1. Unpack mft-gateway files (/home/user/mft_gateway).

 

2. Navigate to the /home/user/mft_gateway/doc/docker directory. Copy the Docker.linux file to the /home/user directory and rename it Dockerfile. Please check that the file Dockerfile has no file extension.

 

Note: Docker builds images by reading the instructions from a Dockerfile. This is a text file containing instructions that adhere to a specific format needed to assemble your application into a container image. The default file name is Dockerfile, without a file extension. Using the default name allows you to run the docker build command without having to specify additional command flags.

 

3. Place the license file in the /home/user directory.

 

4. Open a terminal and go to the /home/user directory where the Dockerfile was placed. Build the container image using the docker build command:

 

docker build -t gateway:latest .

 

Note, the -t gateway:latest option specifies the name (required) and tag (optional) of the image you are building. The dot "." specifies the build context as the current directory. In this example, this is where the build expects to find the Dockerfile and the local files the Dockerfile needs to access.

 

5. Start your container using the docker run command and specify the name of the image you just created:

 

docker run -it -p 20881:20881 gateway:latest





Home | Company | Products | Solutions | Purchase | Support | Services | Blog

© 2023 Redwood Software, Inc.