version: ‘3’
services:
tdengine:
image: tdengine/tsdb-ee:latest
container_name: tdengine-node-1
network_mode: host
extra_hosts:
- “localhost:127.0.0.1”
restart: always
environment:
TAOS_FQDN: “192.168.5.11”
TAOS_FIRST_EP: “192.168.5.11:6030”
TAOS_SECOND_EP: “192.168.30.12:6030”
TAOS_PASSWORD: “TDengine@123”
TAOS_ROOT_PASSWORD: “TDengine@123”
TAOS_ENABLE_TAOS_ADAPTER: “true”
TAOS_ENABLE_TAOS_KEEPER: “true”
TAOS_ENABLE_TAOS_EXPLORER: “true”
volumes: - /opt/tdengine/data:/var/lib/taos
- /opt/tdengine/log:/var/log/taos
我这样设置密码之后,启动容器,容器日志显示设置密码失败:
2026-05-21 07:13:24 [INFO] Service check returned status: 2
2026-05-21 07:13:24 [INFO] ✓ Service ready
2026-05-21 07:13:24 [INFO] → Setting initial root password…
05/21 07:13:43.190776 00000127 E MND ERROR user:root, failed to login from 192.168.5.11 since Authentication failure, line:386, db:, QID:0x2400bc620d160001:0x3d7c249620d00002
05/21 07:13:43.190810 00000127 E MND ERROR msg:0x7f33b0015698, failed to process since Authentication failure, app:(nil) type:connect, QID:0x2400bc620d160001:0x3d7c249620d00002