Currently I'm using the command docker run -p 6030-6042:6030-6042/tcp -p 6030-6040:6030-6040/udp --name taosd tdengine/tdengine
to start a TDengine server, and then connect it with taos
shell in another container with docker run --rm -it tdengine/tdengine taos -h <host ip>
. It connects ok, but when inserting data into a table, it causes error:
Welcome to the TDengine shell from Linux, Client Version:2.0.22.0
Copyright (c) 2020 by TAOS Data, Inc. All rights reserved.
taos> create database if not exists test;
Query OK, 0 of 0 row(s) in database (0.000638s)
taos> use test;
Database changed.
taos> create table if not exists tb1 (ts timestamp, n int);
Query OK, 0 of 0 row(s) in database (0.000880s)
taos> insert into tb1 values (now, 1);
DB error: Unable to resolve FQDN (0.090774s)