镜像构建历史
# 2026-09-04 03:46:06 0.00B 设置默认要执行的命令
CMD ["/usr/sbin/zabbix_agent2" "--foreground" "-c" "/etc/zabbix/zabbix_agent2.conf"]
# 2026-09-04 03:46:06 0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/usr/bin/docker-entrypoint.sh"]
# 2026-09-04 03:46:06 0.00B 指定运行容器时使用的用户
USER 1997
# 2026-09-04 03:46:06 0.00B 设置工作目录为/var/lib/zabbix
WORKDIR /var/lib/zabbix
# 2026-09-04 03:46:06 0.00B 声明容器运行时监听的端口
EXPOSE map[10050/tcp:{} 31999/tcp:{}]
# 2026-09-04 03:46:06 42.92KB 执行命令并创建新的镜像层
RUN |5 MAJOR_VERSION=7.4 ZBX_VERSION=7.4.14 ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git ZBX_PRODUCT_REF=7.4.14 ZBX_PRODUCT_REVISION=unknown /bin/sh -c set -eux && install -d /usr/lib/docker-entrypoint && install -m 0755 /tmp/entrypoints/agent2.sh /usr/bin/docker-entrypoint.sh && install -m 0644 /tmp/entrypoints/lib/*.sh /usr/lib/docker-entrypoint/ # buildkit
# 2026-09-04 03:46:05 31.19MB 执行命令并创建新的镜像层
RUN |5 MAJOR_VERSION=7.4 ZBX_VERSION=7.4.14 ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git ZBX_PRODUCT_REF=7.4.14 ZBX_PRODUCT_REVISION=unknown /bin/sh -c set -eux && INSTALL_PKGS="bash ca-certificates tzdata libcares2 libcurl4t64 libpcre2-8-0 libssl3t64 iputils-ping smartmontools sudo" && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ${INSTALL_PKGS} && groupadd --system --gid 1995 zabbix && useradd --system --comment "Zabbix monitoring system" -g zabbix --uid 1997 --shell /sbin/nologin --home-dir ${ZABBIX_USER_HOME_DIR} zabbix && echo "zabbix ALL=(root) NOPASSWD: /usr/sbin/smartctl" >> /etc/sudoers.d/zabbix && mkdir -p ${ZABBIX_CONF_DIR} ${ZABBIX_CONF_DIR}/zabbix_agentd.d ${ZABBIX_CONF_DIR}/zabbix_agent2.d ${ZABBIX_USER_HOME_DIR} ${ZABBIX_USER_HOME_DIR}/enc ${ZABBIX_USER_HOME_DIR}/enc_internal ${ZABBIX_USER_HOME_DIR}/buffer ${ZBX_USERPARAMETERDIR} && FIX_PERM_LIST=" ${ZABBIX_CONF_DIR}/zabbix_agent2_item_keys.conf ${ZABBIX_CONF_DIR}/zabbix_agentd.d/ ${ZABBIX_CONF_DIR}/zabbix_agent2.d/ ${ZABBIX_USER_HOME_DIR}/" && chown --quiet -R zabbix:0 ${FIX_PERM_LIST} && chmod -R g=u ${FIX_PERM_LIST} && chown --quiet zabbix:0 ${ZABBIX_CONF_DIR}/ && chmod g=u ${ZABBIX_CONF_DIR} && /usr/sbin/zabbix_agent2 -V # buildkit
# 2026-09-04 03:43:52 80.46KB 复制新文件或目录到容器中
COPY /tmp/zabbix-7.4.14-output/agent2/conf/ /etc/zabbix/ # buildkit
# 2026-09-04 03:43:52 403.19KB 复制新文件或目录到容器中
COPY /tmp/zabbix-7.4.14-output/general/bin/zabbix_sender /usr/bin/ # buildkit
# 2026-09-04 03:43:52 311.29KB 复制新文件或目录到容器中
COPY /tmp/zabbix-7.4.14-output/general/bin/zabbix_get /usr/bin/ # buildkit
# 2026-09-04 03:43:52 38.96MB 复制新文件或目录到容器中
COPY /tmp/zabbix-7.4.14-output/agent2/sbin/zabbix-agent2-plugin/ /usr/sbin/zabbix-agent2-plugin/ # buildkit
# 2026-09-04 03:43:51 19.55MB 复制新文件或目录到容器中
COPY /tmp/zabbix-7.4.14-output/agent2/sbin/zabbix_agent2 /usr/sbin/ # buildkit
# 2026-09-04 03:43:51 0.00B 添加元数据标签
LABEL org.opencontainers.image.authors=Alexey Pustovalov <alexey.pustovalov@zabbix.com> org.opencontainers.image.description=Zabbix agent 2 is deployed on a monitoring target to actively monitor local resources and applications org.opencontainers.image.documentation=https://www.zabbix.com/documentation/7.4/manual/installation/containers org.opencontainers.image.licenses=AGPL-3.0-only com.zabbix.product.source=https://git.zabbix.com/scm/zbx/zabbix.git com.zabbix.product.ref=7.4.14 com.zabbix.product.revision=unknown org.opencontainers.image.source=https://github.com/zabbix/zabbix-docker org.opencontainers.image.title=Zabbix agent 2 org.opencontainers.image.url=https://zabbix.com/ org.opencontainers.image.vendor=Zabbix SIA org.opencontainers.image.version=7.4.14
# 2026-09-04 03:43:51 0.00B 设置环境变量 ZBX_PERSISTENTBUFFERFILE ZBX_USERPARAMETERDIR
ENV ZBX_PERSISTENTBUFFERFILE=/var/lib/zabbix/buffer/agent2.db ZBX_USERPARAMETERDIR=/var/lib/zabbix/user_scripts
# 2026-09-04 03:43:51 0.00B 设置环境变量 TERM ZBX_VERSION ZBX_SOURCES ZABBIX_USER_HOME_DIR ZABBIX_CONF_DIR
ENV TERM=xterm ZBX_VERSION=7.4.14 ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git ZABBIX_USER_HOME_DIR=/var/lib/zabbix ZABBIX_CONF_DIR=/etc/zabbix
# 2026-09-04 03:43:51 0.00B 定义构建参数
ARG ZBX_PRODUCT_REVISION=unknown
# 2026-09-04 03:43:51 0.00B 定义构建参数
ARG ZBX_PRODUCT_REF=7.4.14
# 2026-09-04 03:43:51 0.00B 定义构建参数
ARG ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git
# 2026-09-04 03:43:51 0.00B 定义构建参数
ARG ZBX_VERSION
# 2026-09-04 03:43:51 0.00B 定义构建参数
ARG MAJOR_VERSION
# 2026-08-17 17:02:45 179.00B
umoci raw add-layer --image /home/buildd/rockcraft-ubuntu-a6225d8d49f545f312e4b2d59bc5cd53/images/ubuntu:26.04 /home/buildd/rockcraft-ubuntu-a6225d8d49f545f312e4b2d59bc5cd53/images/.temp_layer.control_data.9259.tar
# 2026-08-17 17:02:45 0.00B
umoci config --image /home/buildd/rockcraft-ubuntu-a6225d8d49f545f312e4b2d59bc5cd53/images/ubuntu:26.04 --clear=manifest.annotations --manifest.annotation org.opencontainers.image.version=26.04 --manifest.annotation org.opencontainers.image.title=ubuntu --manifest.annotation org.opencontainers.image.created=2026-08-17T09:02:45.677319+00:00 --manifest.annotation org.opencontainers.image.description=The Ubuntu container image maintained by Canonical
Ubuntu is a Debian-based Linux operating system that runs from the desktop to the cloud, to all your internet connected things.
It is the world's most popular operating system across public clouds and OpenStack clouds.
It is the number one platform for containers; from Docker to Kubernetes to LXD, Ubuntu can run your containers at scale.
Fast, secure and simple, Ubuntu powers millions of PCs worldwide.
# 2026-08-17 17:02:45 0.00B
umoci config --image /home/buildd/rockcraft-ubuntu-a6225d8d49f545f312e4b2d59bc5cd53/images/ubuntu:26.04 --clear=config.labels --config.label org.opencontainers.image.version=26.04 --config.label org.opencontainers.image.title=ubuntu --config.label org.opencontainers.image.created=2026-08-17T09:02:45.677319+00:00 --config.label org.opencontainers.image.description=The Ubuntu container image maintained by Canonical
Ubuntu is a Debian-based Linux operating system that runs from the desktop to the cloud, to all your internet connected things.
It is the world's most popular operating system across public clouds and OpenStack clouds.
It is the number one platform for containers; from Docker to Kubernetes to LXD, Ubuntu can run your containers at scale.
Fast, secure and simple, Ubuntu powers millions of PCs worldwide.
# 2026-08-17 17:02:45 0.00B
umoci config --image /home/buildd/rockcraft-ubuntu-a6225d8d49f545f312e4b2d59bc5cd53/images/ubuntu:26.04 --config.env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
# 2026-08-17 17:02:45 0.00B
umoci config --image /home/buildd/rockcraft-ubuntu-a6225d8d49f545f312e4b2d59bc5cd53/images/ubuntu:26.04 --clear=config.cmd --config.cmd /bin/bash
# 2026-08-17 17:02:45 0.00B
umoci config --image /home/buildd/rockcraft-ubuntu-a6225d8d49f545f312e4b2d59bc5cd53/images/ubuntu:26.04 --clear=config.entrypoint --clear=config.cmd
# 2026-08-17 17:02:45 100.17MB
umoci raw add-layer --image /home/buildd/rockcraft-ubuntu-a6225d8d49f545f312e4b2d59bc5cd53/images/ubuntu:rockcraft-base /home/buildd/rockcraft-ubuntu-a6225d8d49f545f312e4b2d59bc5cd53/images/.temp_layer.9259.tar --tag 26.04
镜像信息
{
"Id": "sha256:141e0e5138a6e405a8523fb71bf185c82184402f169c31f93b44d18a8d2a2f30",
"RepoTags": [
"zabbix/zabbix-agent2:ubuntu-7.4-latest",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/zabbix/zabbix-agent2:ubuntu-7.4-latest"
],
"RepoDigests": [
"zabbix/zabbix-agent2@sha256:9004ebfee48a72ba5864ef37eaeecfbac9a62481f71f268628ca0de70af24e11",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/zabbix/zabbix-agent2@sha256:7224ce00f793e3747f05048473a25f568fe7baac602d419155e84e3e4da1a5a6"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2026-09-03T19:46:06.088256475Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "",
"Author": "",
"Config": {
"Hostname": "",
"Domainname": "",
"User": "1997",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"10050/tcp": {},
"31999/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"TERM=xterm",
"ZBX_VERSION=7.4.14",
"ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git",
"ZABBIX_USER_HOME_DIR=/var/lib/zabbix",
"ZABBIX_CONF_DIR=/etc/zabbix",
"ZBX_PERSISTENTBUFFERFILE=/var/lib/zabbix/buffer/agent2.db",
"ZBX_USERPARAMETERDIR=/var/lib/zabbix/user_scripts"
],
"Cmd": [
"/usr/sbin/zabbix_agent2",
"--foreground",
"-c",
"/etc/zabbix/zabbix_agent2.conf"
],
"ArgsEscaped": true,
"Image": "",
"Volumes": null,
"WorkingDir": "/var/lib/zabbix",
"Entrypoint": [
"/usr/bin/docker-entrypoint.sh"
],
"OnBuild": null,
"Labels": {
"com.zabbix.product.ref": "7.4.14",
"com.zabbix.product.revision": "unknown",
"com.zabbix.product.source": "https://git.zabbix.com/scm/zbx/zabbix.git",
"org.opencontainers.image.authors": "Alexey Pustovalov \u003calexey.pustovalov@zabbix.com\u003e",
"org.opencontainers.image.created": "2026-09-03T19:43:10.534Z",
"org.opencontainers.image.description": "Zabbix agent 2 is deployed on a monitoring target to actively monitor local resources and applications",
"org.opencontainers.image.documentation": "https://www.zabbix.com/documentation/7.4/manual/installation/containers",
"org.opencontainers.image.licenses": "AGPL-3.0-only",
"org.opencontainers.image.revision": "fd8e24e430a935e62171887d0d028f2d55a5d1c1",
"org.opencontainers.image.source": "https://github.com/zabbix/zabbix-docker",
"org.opencontainers.image.title": "Zabbix agent 2",
"org.opencontainers.image.url": "https://zabbix.com/",
"org.opencontainers.image.vendor": "Zabbix SIA",
"org.opencontainers.image.version": "7.4.14"
}
},
"Architecture": "amd64",
"Os": "linux",
"Size": 190710172,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/876c1697ffea33e843583948a20a8e7162c20b4023d4f1d33c4b45eac4c303b0/diff:/var/lib/docker/overlay2/94efb1757047172236ae737f39b242e3297baed14fb8ca7097a0a3d798ecf553/diff:/var/lib/docker/overlay2/318ac8e8b00f134b33ac094fea13e641fc7be4ffd0c29d9e93f48c3949423e2b/diff:/var/lib/docker/overlay2/18e4630afdce6f232ad8856a15da285a256ea43f00acda27e11fe20dfe2ba8c7/diff:/var/lib/docker/overlay2/ee5ce2b9ec14eec6fc5d774ae006f1e83b6cbea2aac20196fa34db08eb8bf857/diff:/var/lib/docker/overlay2/51c781da8b44a3ca19e43c807932a238910ab78a3317b15181484248d9edaf69/diff:/var/lib/docker/overlay2/23e51c83a181e34f68ac56d9dcc273334fbf8c2fe953d87564dcbed3ae609a28/diff:/var/lib/docker/overlay2/c1cf9d850f0be3a535e0091bc081dad038a499437c86461ba9b9cf77a4054b7b/diff:/var/lib/docker/overlay2/3c4fa48b657887045f3fcdb95988217af41f483cd68c8ac290261e335064e926/diff",
"MergedDir": "/var/lib/docker/overlay2/6b08251dd16d2aed0854adb854e4f0a5fd683c165cad97279c8e3e9faf7c183e/merged",
"UpperDir": "/var/lib/docker/overlay2/6b08251dd16d2aed0854adb854e4f0a5fd683c165cad97279c8e3e9faf7c183e/diff",
"WorkDir": "/var/lib/docker/overlay2/6b08251dd16d2aed0854adb854e4f0a5fd683c165cad97279c8e3e9faf7c183e/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:b577adbc0b589bb7c1d3be98cc4b703e8228ab4413156754445e8b20a001c5d3",
"sha256:168f4b64baaa0d1f3b8a1a27acfa9cd0f29527ebda716df024dfa0e9e8f24ef9",
"sha256:a6d6f64fb7fbd3b4e419ea20cd6a7130873c45b70118a2cdfe6fb06e8d2d0e1d",
"sha256:0c15c0091e98f3e8cc71118ebce7db6f45ac33e422ccab814d3745d249c17e57",
"sha256:0fd5a50e0d2ee7a55712396e32665445634c6318d516af56102837fd1c93db21",
"sha256:5f18ab0edc7ce6a1fb625e43df10ab9cd8a8a0923b496899586f909893b6fc8b",
"sha256:4df56f8a9b0065481a9cce80b49fbfa39ed26a22bf67a641c306c28491f89e02",
"sha256:28319d51967de68da0ef66605f050b2c888ece996f455caa15ca19c40462fec0",
"sha256:132a56bb98c42a4b52c4544136cb38c050e85306a732777f39203aa12d3047d4",
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
]
},
"Metadata": {
"LastTagTime": "2026-09-09T10:56:46.515027062+08:00"
}
}