
apache/iotdbApache IoTDB (Database for the Internet of Things) is an IoT native database with high performance for data management and analysis, deployable on the edge and the cloud. Due to its light-weight architecture, high performance and rich feature set together with its deep integration with Apache Hadoop, Spark, and Flink, Apache IoTDB can meet the requirements of massive data storage, high-speed data ingestion, and complex data analysis in the IoT industrial fields.
shell# get IoTDB official image docker pull apache/iotdb:<version>-standalone # create docker bridge network docker network create --driver=bridge --subnet=172.18.0.0/16 --gateway=172.18.0.1 iotdb # create docker container docker run -d --name iotdb-service \ --hostname iotdb-service \ --network iotdb \ --ip 172.18.0.6 \ -p 6667:6667 \ -e cn_internal_address=iotdb-service \ -e cn_seed_config_node=iotdb-service:*** \ -e cn_internal_port=*** \ -e cn_consensus_port=*** \ -e dn_rpc_address=iotdb-service \ -e dn_internal_address=iotdb-service \ -e dn_seed_config_node=iotdb-service:*** \ -e dn_mpp_data_exchange_port=*** \ -e dn_schema_region_consensus_port=*** \ -e dn_data_region_consensus_port=*** \ -e dn_rpc_port=6667 \ apache/iotdb:<version>-standalone # execute SQL docker exec -ti iotdb-service /iotdb/sbin/start-cli.sh -h iotdb-service
External access:
shell# <IP Address/hostname> is the real IP or domain address rather than the one in docker network, could be 127.0.0.1 within the computer. $IOTDB_HOME/sbin/start-cli.sh -h <IP Address/hostname> -p 6667
Notice:The confignode service would fail when restarting this container if the IP Adress of the container has been changed.
yaml# docker-compose-standalone.yml version: "3" services: iotdb-service: image: apache/iotdb:<version>-standalone hostname: iotdb-service container_name: iotdb-service ports: - "6667:6667" environment: - cn_internal_address=iotdb-service - cn_internal_port=*** - cn_consensus_port=*** - cn_seed_config_node=iotdb-service:*** - dn_rpc_address=iotdb-service - dn_internal_address=iotdb-service - dn_rpc_port=6667 - dn_mpp_data_exchange_port=*** - dn_schema_region_consensus_port=*** - dn_data_region_consensus_port=*** - dn_seed_config_node=iotdb-service:*** volumes: - ./data:/iotdb/data - ./logs:/iotdb/logs networks: iotdb: ipv4_address: 172.18.0.6 networks: iotdb: external: true
For more details, access Docker Install

manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务