docker.io/thingsboard/tb-node:4.2.0 linux/amd64

docker.io/thingsboard/tb-node:4.2.0 - 国内下载镜像源 浏览次数:15

这是一个ThingsBoard平台的节点镜像。ThingsBoard是一个开源的物联网平台,而这个镜像包含了运行ThingsBoard节点所需的所有依赖项和配置,允许您轻松地部署和管理ThingsBoard节点。

源镜像 docker.io/thingsboard/tb-node:4.2.0
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/thingsboard/tb-node:4.2.0
镜像ID sha256:6902448193b0bc4b238b3a1bfb95e10c4a7541abee29a3a50fe16ddd7e852e23
镜像TAG 4.2.0
大小 1.12GB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD start-tb-node.sh
启动入口
工作目录
OS/平台 linux/amd64
浏览量 15 次
贡献者
镜像创建 2025-08-15T08:58:01.900735448Z
同步时间 2025-08-28 13:26
更新时间 2025-08-29 13:10
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin DEBIAN_FRONTEND=noninteractive HOME=/home/thingsboard LANG=C.UTF-8 JAVA_HOME=/docker-java-home JAVA_VERSION=17.0.16 JAVA_DEBIAN_VERSION=17.0.16+8-1~deb12u1

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/thingsboard/tb-node:4.2.0
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/thingsboard/tb-node:4.2.0  docker.io/thingsboard/tb-node:4.2.0

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/thingsboard/tb-node:4.2.0
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/thingsboard/tb-node:4.2.0  docker.io/thingsboard/tb-node:4.2.0

Shell快速替换命令

sed -i 's#thingsboard/tb-node:4.2.0#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/thingsboard/tb-node:4.2.0#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/thingsboard/tb-node:4.2.0 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/thingsboard/tb-node:4.2.0  docker.io/thingsboard/tb-node:4.2.0'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/thingsboard/tb-node:4.2.0 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/thingsboard/tb-node:4.2.0  docker.io/thingsboard/tb-node:4.2.0'

镜像构建历史


# 2025-08-15 16:58:01  0.00B 设置默认要执行的命令
CMD ["start-tb-node.sh"]
                        
# 2025-08-15 16:58:01  0.00B 指定运行容器时使用的用户
USER thingsboard
                        
# 2025-08-15 16:58:01  391.39MB 执行命令并创建新的镜像层
RUN /bin/sh -c chmod a+x /tmp/*.sh     && mv /tmp/start-tb-node.sh /usr/bin &&     (yes | dpkg -i /tmp/thingsboard.deb) &&     rm /tmp/thingsboard.deb &&     mv /tmp/logback.xml /usr/share/thingsboard/conf &&     chown -R thingsboard:thingsboard /usr/share/thingsboard/conf/logback.xml &&     (systemctl --no-reload disable --now thingsboard.service > /dev/null 2>&1 || :) &&     chown -R thingsboard:thingsboard /tmp &&     chmod 555 /usr/share/thingsboard/bin/thingsboard.jar # buildkit
                        
# 2025-08-15 16:58:00  349.07MB 复制新文件或目录到容器中
COPY logback.xml start-tb-node.sh thingsboard.deb /tmp/ # buildkit
                        
# 2025-08-14 23:28:57  303.12MB 执行命令并创建新的镜像层
RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends     apt-transport-https     ca-certificates     && {     echo '#!/bin/sh';     echo 'set -e';     echo;     echo 'dirname "$(dirname "$(readlink -f "$(which javac || which java)")")"';     } > /usr/local/bin/docker-java-home     && chmod +x /usr/local/bin/docker-java-home     && ln -svT "/usr/lib/jvm/java-17-openjdk-$(dpkg --print-architecture)" /docker-java-home     && mkdir -p /usr/share/man/man1     && set -ex     && apt list openjdk-17-jdk-headless -a | grep openjdk-17-jdk-headless     && apt-get install -y --no-install-recommends     openjdk-17-jdk-headless="$JAVA_DEBIAN_VERSION"     && apt-get autoremove --purge --yes     && apt-get clean     && rm -rf /var/lib/apt/lists/*     && echo 'networkaddress.cache.ttl=60' >> /etc/java-17-openjdk/security/java.security     && tail /etc/java-17-openjdk/security/java.security     && [ "$(readlink -f "$JAVA_HOME")" = "$(docker-java-home)" ]     && pwd     && ls -lah ~     && fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]     && rm -rf ~/.java 	&& javac -version 	&& java -version # buildkit
                        
# 2025-08-14 23:28:57  0.00B 设置环境变量 JAVA_DEBIAN_VERSION
ENV JAVA_DEBIAN_VERSION=17.0.16+8-1~deb12u1
                        
# 2025-08-14 23:28:57  0.00B 设置环境变量 JAVA_VERSION
ENV JAVA_VERSION=17.0.16
                        
# 2025-08-14 23:28:57  0.00B 设置环境变量 JAVA_HOME
ENV JAVA_HOME=/docker-java-home
                        
# 2025-08-14 23:28:57  0.00B 设置环境变量 LANG
ENV LANG=C.UTF-8
                        
# 2025-08-14 23:21:04  0.00B 设置环境变量 HOME
ENV HOME=/home/thingsboard
                        
# 2025-08-14 23:21:04  1.48MB 执行命令并创建新的镜像层
RUN /bin/sh -c apt-get update     && apt-get upgrade --yes     && apt-get install -y --no-install-recommends procps     && apt-get autoremove --purge --yes     && apt-get clean     && rm -rf /var/lib/apt/lists/*     && addgroup --system thingsboard             --gid=799     && adduser --quiet             --system             --uid=799             --ingroup thingsboard             --quiet             --disabled-login             --disabled-password             -gecos "Thingsboard application"             thingsboard     && rm -rf /var/log/*     && chmod -R g+rwX /var/log     && mkdir -p /home/thingsboard     && chown thingsboard:thingsboard /home/thingsboard     && chmod -R g+rwX /home/thingsboard     && usermod -d /home/thingsboard thingsboard     && ls -lah /home/thingsboard # buildkit
                        
# 2025-08-14 23:21:04  0.00B 设置环境变量 DEBIAN_FRONTEND
ENV DEBIAN_FRONTEND=noninteractive
                        
# 2025-08-11 08:00:00  74.81MB 
# debian.sh --arch 'amd64' out/ 'bookworm' '@1754870400'
                        
                    

镜像信息

{
    "Id": "sha256:6902448193b0bc4b238b3a1bfb95e10c4a7541abee29a3a50fe16ddd7e852e23",
    "RepoTags": [
        "thingsboard/tb-node:4.2.0",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/thingsboard/tb-node:4.2.0"
    ],
    "RepoDigests": [
        "thingsboard/tb-node@sha256:cbc1e32a7e4bcc7201b5aa9fec4c2cfe6a76ea682b531a38339d144c14b98b8f",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/thingsboard/tb-node@sha256:b4ef254d380500718a8bec15e739aa7531d6df3dca551e69d58430f8889ffb60"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2025-08-15T08:58:01.900735448Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "thingsboard",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "DEBIAN_FRONTEND=noninteractive",
            "HOME=/home/thingsboard",
            "LANG=C.UTF-8",
            "JAVA_HOME=/docker-java-home",
            "JAVA_VERSION=17.0.16",
            "JAVA_DEBIAN_VERSION=17.0.16+8-1~deb12u1"
        ],
        "Cmd": [
            "start-tb-node.sh"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 1119875757,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/53b4541e05a7beb980d9fdf4380cb8352f8494ad18fc977581bff1a108560bcf/diff:/var/lib/docker/overlay2/408a6a2165e21b8cd285d4bdaad2e0eb3e19b7697e37eeedf1e68d3b7f519944/diff:/var/lib/docker/overlay2/170c14b3b9b86bce5c29d3cd084bb9a24809caa1a1ca91202a47c590913ae6e2/diff:/var/lib/docker/overlay2/290eb6ac57e6dfc054ed31dd0ef054e499c396af9d5cbcb44bb77944ae96e92d/diff",
            "MergedDir": "/var/lib/docker/overlay2/87ac3935b39fe71d5a4be68388ad5998fdc7f80242198dce9aeb5de6b1422307/merged",
            "UpperDir": "/var/lib/docker/overlay2/87ac3935b39fe71d5a4be68388ad5998fdc7f80242198dce9aeb5de6b1422307/diff",
            "WorkDir": "/var/lib/docker/overlay2/87ac3935b39fe71d5a4be68388ad5998fdc7f80242198dce9aeb5de6b1422307/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:eb5f13bce9936c760b9fa73aeb1b608787daa36106cc888104132e353ed37252",
            "sha256:b8f3617709924d199a3a1447815381b9597224890897cf5ef13736ab992fa53c",
            "sha256:871ac6769507a49157a3a48f9e2267363229343d1e3d981530a561e527f890a8",
            "sha256:468d95986c903c86f728b13234dfacdd0bdcf57c92b114f95c92c6478aec64b6",
            "sha256:f02cc90ae32259e1d414d547a540982ff93cfcf64f824359478f1087c0e94688"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-08-28T13:25:22.953628773+08:00"
    }
}

更多版本

docker.io/thingsboard/tb-node:4.1.0

linux/amd64 docker.io1.06GB2025-08-04 17:40
58

docker.io/thingsboard/tb-node:4.2.0

linux/amd64 docker.io1.12GB2025-08-28 13:26
14