Starting a Realm Server in a Docker Container

To start a realm server, use the Docker command line specified in this task.

Prerequisites

  • Docker must already be installed on the host computer.
  • A Docker image that includes the realm server must be loaded into your Docker environment on the host computer.

    Use the pre-built Docker image ftl-tibrealmserver.

Procedure

  • Start the realm server container.
    docker run -d -p 13131:13131 -p 13134:13134 ftl-tibrealmserver --client.url discover://
    The realm server requires that the Docker container publish the following external ports. The host ports and container ports must be identical.
    • 13131 - Connect port
    • 13134 - Client port
    (To use non-default port numbers, see Overriding Realm Server Port Defaults in Docker.)
    Optional command line arguments of the realm server could refer to files. If so, make those files available inside the container, for example, using Docker's -v parameter.