docker.io/netdata/netdata:stable linux/amd64

docker.io/netdata/netdata:stable - 国内下载镜像源 浏览次数:41

Netdata 容器镜像

这是一个由 Netdata 团队维护的 Docker 容器镜像,用于部署 Netdata 监控系统。Netdata 是一款实时性能监控系统,它可以收集和展示系统资源使用情况,例如 CPU、内存、磁盘、网络等。该镜像提供了一种便捷的方式在 Docker 环境中运行 Netdata,并通过其 web 界面访问监控数据。 该镜像包含以下特点: * **实时监控:** Netdata 提供实时的系统性能数据,帮助您及时了解系统运行状况。 * **多平台支持:** Netdata 支持多种操作系统,包括 Linux、macOS 和 Windows。 * **丰富的指标数据:** Netdata 收集各种指标数据,例如 CPU 使用率、内存使用率、磁盘使用率、网络流量、进程信息等。 * **可视化界面:** Netdata 提供直观的 web 界面,可以方便地查看和分析监控数据。 * **可扩展性:** Netdata 可以通过插件扩展其功能,以监控更多类型的系统资源。
源镜像 docker.io/netdata/netdata:stable
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/netdata/netdata:stable
镜像ID sha256:bef72f9997e55d5c3788a298ecb86e2e87c3f4c6a55b3c16efe4fb3e375562d3
镜像TAG stable
大小 578.88MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD
启动入口 /usr/sbin/run.sh
工作目录 /
OS/平台 linux/amd64
浏览量 41 次
贡献者
镜像创建 2024-11-22T15:43:06.457716547Z
同步时间 2024-11-28 15:43
更新时间 2024-12-25 21:18
开放端口
19999/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin DEBIAN_FRONTEND=noninteractive NETDATA_OFFICIAL_IMAGE=true DOCKER_GRP=netdata DOCKER_USR=netdata NETDATA_LISTENER_PORT=19999 NETDATA_EXTRA_DEB_PACKAGES=
镜像标签
Netdatabot <bot@netdata.cloud>: org.opencontainers.image.authors Official Netdata Agent Docker Image: org.opencontainers.image.description https://learn.netdata.cloud: org.opencontainers.image.documentation https://github.com/netdata/netdata: org.opencontainers.image.source Netdata Agent: org.opencontainers.image.title https://netdata.cloud: org.opencontainers.image.url Netdata Inc.: org.opencontainers.image.vendor
镜像安全扫描 查看Trivy扫描报告

系统OS: debian 12.8 扫描引擎: Trivy 扫描时间: 2024-11-28 15:43

低危漏洞:150 中危漏洞:37 高危漏洞:35 严重漏洞:1

Docker拉取命令 无权限下载?点我修复

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/netdata/netdata:stable
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/netdata/netdata:stable  docker.io/netdata/netdata:stable

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/netdata/netdata:stable
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/netdata/netdata:stable  docker.io/netdata/netdata:stable

Shell快速替换命令

sed -i 's#netdata/netdata:stable#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/netdata/netdata:stable#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/netdata/netdata:stable && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/netdata/netdata:stable  docker.io/netdata/netdata:stable'

Ansible快速分发-Containerd

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

镜像构建历史


# 2024-11-22 23:43:06  0.00B 指定检查容器健康状态的命令
HEALTHCHECK &{["CMD-SHELL" "/usr/sbin/health.sh"] "1m0s" "10s" "0s" "0s" '\x03'}
                        
# 2024-11-22 23:43:06  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/usr/sbin/run.sh"]
                        
# 2024-11-22 23:43:06  110.49MB 执行命令并创建新的镜像层
RUN |3 OFFICIAL_IMAGE=true NETDATA_UID=201 NETDATA_GID=201 /bin/sh -c addgroup --gid ${NETDATA_GID} --system "${DOCKER_GRP}" &&     adduser --system --no-create-home --shell /usr/sbin/nologin --uid ${NETDATA_UID} --home /etc/netdata --group "${DOCKER_USR}" &&     chown -R root:root         /etc/netdata         /usr/share/netdata         /usr/libexec/netdata &&     chown -R netdata:root         /usr/lib/netdata         /var/cache/netdata         /var/lib/netdata         /var/log/netdata &&     chown -R netdata:netdata /var/lib/netdata/cloud.d &&     chmod 0700 /var/lib/netdata/cloud.d &&     chmod 0755 /usr/libexec/netdata/plugins.d/*.plugin &&     for name in cgroup-network                 local-listeners                 apps.plugin                 debugfs.plugin                 freeipmi.plugin                 go.d.plugin                 perf.plugin                 ndsudo                 slabinfo.plugin                 network-viewer.plugin                 systemd-journal.plugin; do         [ -f "/usr/libexec/netdata/plugins.d/$name" ] && chmod 4755 "/usr/libexec/netdata/plugins.d/$name";     done &&     find /var/lib/netdata /var/cache/netdata -type d -exec chmod 0770 {} \; &&     find /var/lib/netdata /var/cache/netdata -type f -exec chmod 0660 {} \; &&     cp -va /etc/netdata /etc/netdata.stock # buildkit
                        
# 2024-11-22 23:43:05  165.35MB 复制新文件或目录到容器中
COPY /app / # buildkit
                        
# 2024-11-22 23:38:53  88.00B 执行命令并创建新的镜像层
RUN |3 OFFICIAL_IMAGE=true NETDATA_UID=201 NETDATA_GID=201 /bin/sh -c mkdir -p /opt/src /var/log/netdata &&     ln -sf /dev/stdout /var/log/netdata/access.log &&     ln -sf /dev/stdout /var/log/netdata/aclk.log &&     ln -sf /dev/stdout /var/log/netdata/debug.log &&     ln -sf /dev/stderr /var/log/netdata/error.log &&     ln -sf /dev/stderr /var/log/netdata/daemon.log &&     ln -sf /dev/stdout /var/log/netdata/collector.log &&     ln -sf /dev/stdout /var/log/netdata/fluentbit.log &&     ln -sf /dev/stdout /var/log/netdata/health.log # buildkit
                        
# 2024-11-22 23:38:53  0.00B 设置环境变量 NETDATA_EXTRA_DEB_PACKAGES
ENV NETDATA_EXTRA_DEB_PACKAGES=
                        
# 2024-11-22 23:38:53  0.00B 声明容器运行时监听的端口
EXPOSE map[19999/tcp:{}]
                        
# 2024-11-22 23:38:53  0.00B 设置环境变量 NETDATA_LISTENER_PORT
ENV NETDATA_LISTENER_PORT=19999
                        
# 2024-11-22 23:38:53  0.00B 设置环境变量 DOCKER_USR
ENV DOCKER_USR=netdata
                        
# 2024-11-22 23:38:53  0.00B 设置环境变量 DOCKER_GRP
ENV DOCKER_GRP=netdata
                        
# 2024-11-22 23:38:53  0.00B 定义构建参数
ARG NETDATA_GID=201
                        
# 2024-11-22 23:38:53  0.00B 定义构建参数
ARG NETDATA_UID=201
                        
# 2024-11-22 23:38:53  0.00B 设置环境变量 NETDATA_OFFICIAL_IMAGE
ENV NETDATA_OFFICIAL_IMAGE=true
                        
# 2024-11-22 23:38:53  0.00B 定义构建参数
ARG OFFICIAL_IMAGE=true
                        
# 2024-11-22 23:38:53  0.00B 添加元数据标签
LABEL org.opencontainers.image.vendor=Netdata Inc.
                        
# 2024-11-22 23:38:53  0.00B 添加元数据标签
LABEL org.opencontainers.image.description=Official Netdata Agent Docker Image
                        
# 2024-11-22 23:38:53  0.00B 添加元数据标签
LABEL org.opencontainers.image.title=Netdata Agent
                        
# 2024-11-22 23:38:53  0.00B 添加元数据标签
LABEL org.opencontainers.image.source=https://github.com/netdata/netdata
                        
# 2024-11-22 23:38:53  0.00B 添加元数据标签
LABEL org.opencontainers.image.documentation=https://learn.netdata.cloud
                        
# 2024-11-22 23:38:53  0.00B 添加元数据标签
LABEL org.opencontainers.image.url=https://netdata.cloud
                        
# 2024-11-22 23:38:53  0.00B 添加元数据标签
LABEL org.opencontainers.image.authors=Netdatabot <bot@netdata.cloud>
                        
# 2024-11-22 08:24:09  186.52MB 执行命令并创建新的镜像层
RUN /bin/sh -c DISTRO_CODENAME="$(awk -F= '/VERSION_CODENAME/{print $2}' /etc/os-release)" &&     echo "deb http://deb.debian.org/debian ${DISTRO_CODENAME}-backports main" > /etc/apt/sources.list.d/backports.list &&     chown _apt:root /var/cache/apt /var/lib/apt &&     apt-get update &&     apt-get upgrade -y &&     apt-get install -y --no-install-recommends apt-utils &&     apt-get install -y --no-install-recommends                     ca-certificates                     curl                     fping                     iproute2                     jq                     libcurl4                     libgcrypt20                     libjson-c5                     liblz4-1                     libmariadb3                     libmnl0                     libmongoc-1.0-0                     libprotobuf32                     libsnappy1v5                     libssl3                     libsystemd0                     libuuid1                     libuv1                     libvirt-clients                     libyaml-0-2                     libzstd1                     lm-sensors                     msmtp                     vim-tiny                     ncurses-base                     netcat-openbsd                     openssl                     procps                     python3                     zlib1g &&     if [ "$(uname -m)" != "ppc64le" ]; then         apt-get install -y --no-install-recommends freeipmi libipmimonitoring6 || exit 1 ;     fi &&     rm -rf /var/cache/apt/* /var/lib/apt/lists/* # buildkit
                        
# 2024-11-22 08:24:09  0.00B 设置环境变量 DEBIAN_FRONTEND
ENV DEBIAN_FRONTEND=noninteractive
                        
# 2024-11-22 08:24:09  0.00B 添加元数据标签
LABEL org.opencontainers.image.vendor=Netdata Inc.
                        
# 2024-11-22 08:24:09  0.00B 添加元数据标签
LABEL org.opencontainers.image.description=Base image for official Netdata Agent Docker images.
                        
# 2024-11-22 08:24:09  0.00B 添加元数据标签
LABEL org.opencontainers.image.title=Netdata Agent Docker Base Image
                        
# 2024-11-22 08:24:09  0.00B 添加元数据标签
LABEL org.opencontainers.image.source=https://github.com/netdata/helper-images
                        
# 2024-11-22 08:24:09  0.00B 添加元数据标签
LABEL org.opencontainers.image.authors=Netdatabot <bot@netdata.cloud>
                        
# 2024-11-11 08:00:00  0.00B 设置默认要执行的命令
CMD ["bash"]
                        
# 2024-11-11 08:00:00  116.51MB 复制文件或目录到容器中
ADD rootfs.tar.xz / # buildkit
                        
                    

镜像信息

{
    "Id": "sha256:bef72f9997e55d5c3788a298ecb86e2e87c3f4c6a55b3c16efe4fb3e375562d3",
    "RepoTags": [
        "netdata/netdata:stable",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/netdata/netdata:stable"
    ],
    "RepoDigests": [
        "netdata/netdata@sha256:398529c0903a0b0922687b135defe6fc70a1f8fb9628b8053a045395ee09bbba",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/netdata/netdata@sha256:44f4561f0aa8833ec475bc08ea7d18aa2bcdd7939c1f60ac13babfa2c972fbbd"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-11-22T15:43:06.457716547Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "19999/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "DEBIAN_FRONTEND=noninteractive",
            "NETDATA_OFFICIAL_IMAGE=true",
            "DOCKER_GRP=netdata",
            "DOCKER_USR=netdata",
            "NETDATA_LISTENER_PORT=19999",
            "NETDATA_EXTRA_DEB_PACKAGES="
        ],
        "Cmd": null,
        "Healthcheck": {
            "Test": [
                "CMD-SHELL",
                "/usr/sbin/health.sh"
            ],
            "Interval": 60000000000,
            "Timeout": 10000000000,
            "Retries": 3
        },
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/",
        "Entrypoint": [
            "/usr/sbin/run.sh"
        ],
        "OnBuild": [
            "ENV NETDATA_OFFICIAL_IMAGE=false"
        ],
        "Labels": {
            "org.opencontainers.image.authors": "Netdatabot \u003cbot@netdata.cloud\u003e",
            "org.opencontainers.image.description": "Official Netdata Agent Docker Image",
            "org.opencontainers.image.documentation": "https://learn.netdata.cloud",
            "org.opencontainers.image.source": "https://github.com/netdata/netdata",
            "org.opencontainers.image.title": "Netdata Agent",
            "org.opencontainers.image.url": "https://netdata.cloud",
            "org.opencontainers.image.vendor": "Netdata Inc."
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 578875324,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/6860e33f29e1516aa0938ea00e69baa9e5c81bdc99b04db9b81f7aa391207a77/diff:/var/lib/docker/overlay2/795ea61fd2beca1fb51470e61e018aa1c11e79116466880777ea9f2f5a494b98/diff:/var/lib/docker/overlay2/3c76ad5cfdd0545c1ac1e9644d105f549252a01c70b999d47040d5e6fb5c1e5c/diff:/var/lib/docker/overlay2/472ce968128bae359d2869c9408f9986da91e0ab725569b9b2c8a58c1edae20a/diff",
            "MergedDir": "/var/lib/docker/overlay2/44166a6a4dcb7ea19f6bbc3367ab92e17272f2f4a4fe89b06a5199a643a7d843/merged",
            "UpperDir": "/var/lib/docker/overlay2/44166a6a4dcb7ea19f6bbc3367ab92e17272f2f4a4fe89b06a5199a643a7d843/diff",
            "WorkDir": "/var/lib/docker/overlay2/44166a6a4dcb7ea19f6bbc3367ab92e17272f2f4a4fe89b06a5199a643a7d843/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:24b5ce0f1e07d37a35460f50d058afcf738619e431013d2e1727609bdff2d7fc",
            "sha256:a935aaa1c3c2927e55544667ffad21e039c94557d2f9d3a5afcc76168cbd473b",
            "sha256:bb9eb9c681a20b39af1849f3ee420cca517a60e64a3e44d2a81f38a16b737771",
            "sha256:e1a818f6785bff180a34852ee9611849fc9faffadc09e50b7c4403820d2f3a4a",
            "sha256:29731e6b27696e0e463f266e5225e1a8e845e691ec643d3143d8707d4da1546f"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-28T15:43:14.786882425+08:00"
    }
}

更多版本

docker.io/netdata/netdata:latest

linux/amd64 docker.io547.83MB2024-09-30 16:26
160

docker.io/netdata/netdata:v2.0

linux/amd64 docker.io578.83MB2024-11-14 15:32
54

docker.io/netdata/netdata:v2.0

linux/arm64 docker.io605.19MB2024-11-14 17:42
48

docker.io/netdata/netdata:stable

linux/amd64 docker.io578.88MB2024-11-28 15:43
40

docker.io/netdata/netdata:v2.0.3

linux/arm64 docker.io605.38MB2024-12-19 14:06
22