ThingsBoard Documentation

Documentation for using ThingsBoard IoT Platform.
ThingsBoard Professional Edition with White-labeling and Platform Integrations Learn More

Installing ThingsBoard using Docker (Linux or Mac OS)

IoT PaaS Demo

We recommend to use ThingsBoard Live Demo for the seamless experience and the newest features from the latest source code!

Save time on the installation and configuration with several pre-provisioned devices, dashboards available in the cloud and pre-integrated email server to create new customer accounts and users.

This guide will help you to install and start ThingsBoard using Docker on Linux or Mac OS.

Installation steps

mkdir <docker-folder>
cd <docker-folder>
curl -L > docker-compose.yml
curl -L > .env
curl -L > tb.env
sudo rm -rf /home/docker/hsqldb_volume
ADD_SCHEMA_AND_SYSTEM_DATA=true ADD_DEMO_DATA=true bash -c 'docker-compose up -d tb'
docker-compose up -d tb

Advanced usage

.env file

One can modify .env file to configure following parameters:

tb.env file

One can set thingsboard service environment variables using this file. See configuration for more details.


DNS issues

Note If you observe errors related to DNS issues, for example cannot unmarshal DNS message

You may configure your system to use Google public DNS servers. See corresponding Linux and Mac OS instructions.

Next steps