Star

Guides

How to get started, and accomplish tasks, using Thingsboard.

Installing Thingsboard using Docker (Windows)

This guide will help you to install and start Thingsboard using Docker on Windows.

Installation steps

mkdir <docker-folder>
cd <docker-folder>
curl -L https://raw.githubusercontent.com/thingsboard/thingsboard/release-1.1/docker/docker-compose.yml > docker-compose.yml
curl -L https://raw.githubusercontent.com/thingsboard/thingsboard/release-1.1/docker/docker-compose.random.yml > docker-compose.random.yml
curl -L https://raw.githubusercontent.com/thingsboard/thingsboard/release-1.1/docker/.env > .env
curl -L https://raw.githubusercontent.com/thingsboard/thingsboard/release-1.1/docker/thingsboard.env > thingsboard.env
curl -L https://raw.githubusercontent.com/thingsboard/thingsboard/release-1.1/docker/thingsboard-db-schema.env > thingsboard-db-schema.env
docker-machine ssh default 'sudo rm -rf /home/docker/cassandra_volume'
docker-compose -f docker-compose.yml -f docker-compose.random.yml up -d
# Web UI port
VBoxManage controlvm "default" natpf1 "tcp-port8080,tcp,,8080,,8080"
# MQTT port
VBoxManage controlvm "default" natpf1 "tcp-port1883,tcp,,1883,,1883"
# CoAP port
VBoxManage controlvm "default" natpf1 "tcp-port5683,tcp,,5683,,5683"
http://localhost:8080/

Advanced usage

See corresponding page in linux guide for more details.

Troubleshooting

DNS issues

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

127.0.1.1:53: cannot unmarshal DNS message

You may configure your system to use Google public DNS servers