TilliT Edge Agent via Docker

Use Docker to configure Edge for any linux environment

A Docker installation allows you to install the TilliT Edge software on a virtual machine or remote desktop, simplifying the process by eliminating the need to install a physical device in the automation area. Setting up Docker requires basic knowledge of the command line interface and Linux systems, but our support team is available to assist you if needed.

Pre-Requisites

  1. A virtual machine running Ubuntu 24.04 or RHEL9+. If other, then please ensure that Docker is already installed as our installation will not work for that configuration.

  2. A person with access and knowledge of connecting to linux virtual machines. This is nessecary to move and execute files.

  3. Create an edge and have the zip file containing the certificates for it as described in Create an Edge

If not using Ubuntu 24.04 or RHEL9+, then you will need to manually install Docker. See this page for more information https://docs.docker.com/engine/install/. You can then continue this guide, but choose the multi-os installer which skips the docker installation.

Generally, a script such as the following can be used (be sure the firewall allows access)

curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh ./get-docker.sh

Installation Guide

  1. Download the Docker Installation Files for your Operating System from the following links, or they are available from the TilliT Edge Settings Page. Use the Multi OS installation if Docker is already installed on the target system.

  1. Transfer both the Docker Installation file tillit-edge-agent-{ubuntu-x86,rhel9-x86}.tar.gz and the TillitEdge certificate zip to the target virtual machine

Example - scp /path/to/tar/tillit-edge-agent-ubuntu-x86.tar.gz user@ipAddress:/home/user
  1. With both files on the virtual machine, now extract the installation files with the following command

tar -xzf ./tillit-edge-agent-ubuntu-x86.tar.gz
  1. A new folder called tillit-edge-agent will have been created with the contents of the tarball file inside. Now run the installer script contained in this folder, also supplying the path to the certificate zip as the first argument

sudo ./tillit-edge-agent/installer.sh /path/to/certificates.zip

This installation script will

  • Install the Docker Engine onto the virtual machine (unless multi-os is chosen or --skip-docker is given to install command)

  • Add our custom TilliT Edge Agent docker image to the Docker Engine

  • Create a working directory of /opt/tillit on the filesystem to store the configuration and container information.

  • Start the TilliT Edge docker container immediately, which is configured to auto-start on system startup.

  • At no point does the script make any network calls or make system configuration changes outside of the above.

If this installation method is not suitable, then you can see below for advanced steps that provide the bare bones installation commands that need to be run.

Advanced Installation
# Directory Structure
# tillit-edge-agent/
# ├── docker/
# │   ├── containerd.io.{rpm,deb}
# │   ├── docker-buildx-plugin.{rpm,deb}
# │   ├── docker-ce-cli.{rpm,deb}
# │   ├── docker-ce-rootless-extra.{rpm,deb}
# │   ├── docker-ce.{rpm,deb}
# │   ├── docker-compose-plugin.{rpm,deb}
# │   └── docker-model-plugin.{rpm,deb}
# ├── scripts/
# │      ├── setup-firewall.sh
# │      └── setup-ssh.sh
# ├── docker-compose.yml
# ├── installer.sh
# ├── README.md
# └── tillit-edge-image.tar

# Install Docker For Ubuntu 24.04
sudo dpkg -i ./tillit-edge-agent/docker/*.deb

# Install Docker For RHEL9+
sudo rpm -ivh ./tillit-edge-agent/docker/*.rpm

# Ensure that docker is installed and running
systemctl start docker
systemctl enable docker

# Load the TilliT Edge Image into docker
docker load -i ./tillit-edge-agent/tillit-edge-image.tar

# Create the working directory for the container
mkdir -p /opt/tillit/config

# Copy the files to the working directory
cp ./tillit-edge-agent/docker-compose.yml /opt/tillit
cp /path/to/certificates.zip /opt/tillit/config

# Start the TilliT Edge container
docker compose up --detach -f /opt/tillit 

  1. Upon successful installation, you will see the following in the terminal

  1. You can confirm the status of the docker container using docker ps and observing that the TilliT Edge container is running

  2. Confirm that the connection to TilliT is working:

    • Allow the device to run for about 5 minutes while it finishes the setup process.

    • After this time, return to the TilliT interface and check that your edge device is now marked as Online.

    At this point, you can configure your edge device with datasources.

Last updated