Docker container for TDEngine client & OpenJDK
10K+
taos-jdbcdriver implement two types of connection methods:
This repo's target is to build a container for tdengine java client to run with native connection.
Please note: This image is base on eclipse-temurin focal (Official Images for OpenJDK binaries).
Run TDengine container
docker run -it --rm -d \
--hostname=tdengine \
-p 6030-6041:6030-6041 \
-p 6030-6041:6030-6041/udp \
tdengine/tdengine:3.0.2.3
Run java client
docker run -it --rm -v PATH_TO_YOUR_JAR_FILE.jar:/app.jar \
-v PATH_TO_YOUR_TAOS_CONFIG/taos.cfg:/etc/taos/taos.cfg \
--add-host=tdengine:172.17.0.2 \
enix223/tdengine-openjdk-client:3.0.2.3 \
java -jar /app.jar
For more information, please refer to example.
Argument:
Build command
docker pull eclipse-temurin:17.0.6_10-jdk-focal
docker build \
--build-arg JDKVER=17.0.6_10 \
--build-arg TDVERSION=3.0.2.5 \
--tag enix223/tdengine-openjdk-client:17.0.6_10-3.0.2.5 \
--tag enix223/tdengine-openjdk-client:17-3.0.2.5 \
.
For more information, please refer to github repo
Content type
Image
Digest
sha256:b452efb88…
Size
263.9 MB
Last updated
6 months ago
docker pull enix223/tdengine-openjdk-client:17.0.17_10-jre-noble-3.3.6.13