Starting a Default FTL Server in a Docker Container

To start an FTL server in the simplest possible way, complete this task.

Prerequisites

Docker must already be installed on the host computer.

Procedure

  1. Load the Docker image.
    Locate the pre-built Docker image ftl-tibftlserver:6.5.0 and load it into the Docker environment on the host computer.
    docker load --input ftl-tibftlserver-6.5.0.dockerimage.xz
  2. Start the FTL server container.

    Publish the FTL server port using Docker's -p parameter. This example uses the default port, 8585.

    This example command line omits an FTL server configuration file, so the server uses a default configuration. Instead of specifying the server's host and port in the configuration file, supply an extended name as the argument to the FTL server's --name parameter. The extended name string specifies the server name, host, and port.

    docker run -p 8585:8585 ftl-tibftlserver:6.5.0
               --name <srvr_name>@host:8585
    

Three Default FTL Servers

To start three default FTL servers in Docker containers, use the command line variant in this example.

docker run -p 8585:8585
           ftl-tibftlserver:6.5.0
                 -n <svr_name>@host1:8585
                 --core.servers svr1@host1:8585|svr2@host2:8585|svr3@host3:8585

Run the appropriate command on each of the three hosts you specify in the --core.servers argument.

For reference, see "FTL Server Executable."