Docker

Jump to Section

The Docker image file HighByte-Intelligence-Hub-X.X.X Docker (Build XXXX.X.X.X).tar includes the Intelligence Hub runtime and configuration components, and is built from the alpine linux image with OpenJDK 21. This section covers how to install and run the docker image.

This is an x86_64 image. Other CPU architectures such as arm64 require building your own image from the installer.

Install

  1. Run the following docker command to load the docker image:

    bash
    docker load -i "HighByte-Intelligence-Hub-X.X.X Docker (Build XXXX.X.X.X).tar"
  2. Setup a volume to host the application configuration. This step is optional, but recommended so that you do not lose your configuration when performing future image updates.

    bash
    docker volume create hb_vol
  3. Run the image. In this example command port 45245 is the runtime's REST API used for configuration and, 1885 is used by the internal MQTT broker and port 8885 is the default port for the REST data server. Note: Remove the –mount source=hb_vol if not using a volume.

    bash
    docker run -p 45245:45245 -p 1885:1885 -p 8885:8885 --name highbyte --mount source=hb_vol,target=/usr/local/highbyte/appData highbyte:X.X.X

Changes to the MQTT and REST Data server ports require the container to be recreated. Changing the ports from the user interface will not change the container ports and may interrupt connections.