docker.io/zabbix/zabbix-web-nginx-mysql:5.0-centos linux/amd64

docker.io/zabbix/zabbix-web-nginx-mysql:5.0-centos - 国内下载镜像源 浏览次数:10
以下是镜像的描述信息:

Zabbix Web Nginx MySQL

基于docker.io/zabbix/zabbix-web-nginx-mysql镜像

该镜像包含Zabbix前端和数据库,使用Nginx作为Web服务器,MySQL作为数据库。

支持Zabbix的监控功能和告警系统。

镜像大小:大约为1GB

源镜像 docker.io/zabbix/zabbix-web-nginx-mysql:5.0-centos
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/zabbix/zabbix-web-nginx-mysql:5.0-centos
镜像ID sha256:8ec564a83001c382c50551f514200737366b5d3282fd5b48e989cbee756a1831
镜像TAG 5.0-centos
大小 430.57MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD
启动入口 docker-entrypoint.sh
工作目录 /usr/share/zabbix
OS/平台 linux/amd64
浏览量 10 次
贡献者
镜像创建 2021-10-15T15:00:54.846323957Z
同步时间 2025-07-21 10:50
更新时间 2025-07-21 23:41
开放端口
8080/tcp 8443/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin TERM=xterm ZBX_VERSION=5.0.16 ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git
镜像标签
20210915: org.label-schema.build-date GPLv2: org.label-schema.license CentOS Base Image: org.label-schema.name 1.0: org.label-schema.schema-version CentOS: org.label-schema.vendor Alexey Pustovalov <alexey.pustovalov@zabbix.com>: org.opencontainers.image.authors 2021-10-15T14:59:08.336Z: org.opencontainers.image.created Zabbix web-interface based on Nginx web server with MySQL database support: org.opencontainers.image.description https://www.zabbix.com/documentation/5.0/manual/installation/containers: org.opencontainers.image.documentation GPL v2.0: org.opencontainers.image.licenses edc9530392c3e319becad6ebcbfb606ded47550a: org.opencontainers.image.revision https://git.zabbix.com/scm/zbx/zabbix.git: org.opencontainers.image.source Zabbix web-interface (Nginx, MySQL): org.opencontainers.image.title https://zabbix.com/: org.opencontainers.image.url Zabbix LLC: org.opencontainers.image.vendor 5.0.16: org.opencontainers.image.version

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/zabbix/zabbix-web-nginx-mysql:5.0-centos
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/zabbix/zabbix-web-nginx-mysql:5.0-centos  docker.io/zabbix/zabbix-web-nginx-mysql:5.0-centos

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/zabbix/zabbix-web-nginx-mysql:5.0-centos
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/zabbix/zabbix-web-nginx-mysql:5.0-centos  docker.io/zabbix/zabbix-web-nginx-mysql:5.0-centos

Shell快速替换命令

sed -i 's#zabbix/zabbix-web-nginx-mysql:5.0-centos#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/zabbix/zabbix-web-nginx-mysql:5.0-centos#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/zabbix/zabbix-web-nginx-mysql:5.0-centos && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/zabbix/zabbix-web-nginx-mysql:5.0-centos  docker.io/zabbix/zabbix-web-nginx-mysql:5.0-centos'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/zabbix/zabbix-web-nginx-mysql:5.0-centos && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/zabbix/zabbix-web-nginx-mysql:5.0-centos  docker.io/zabbix/zabbix-web-nginx-mysql:5.0-centos'

镜像构建历史


# 2021-10-15 23:00:54  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["docker-entrypoint.sh"]
                        
# 2021-10-15 23:00:54  0.00B 指定运行容器时使用的用户
USER 1997
                        
# 2021-10-15 23:00:54  8.98KB 复制新文件或目录到容器中
COPY docker-entrypoint.sh /usr/bin/ # buildkit
                        
# 2021-10-15 23:00:54  0.00B 设置工作目录为/usr/share/zabbix
WORKDIR /usr/share/zabbix
                        
# 2021-10-15 23:00:54  0.00B 声明容器运行时监听的端口
EXPOSE map[8080/tcp:{} 8443/tcp:{}]
                        
# 2021-10-15 23:00:54  150.52MB 执行命令并创建新的镜像层
RUN |3 MAJOR_VERSION=5.0 ZBX_VERSION=5.0.16 ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git /bin/sh -c set -eux &&     groupadd --system --gid 1995 zabbix &&     useradd             --system --comment "Zabbix monitoring system"             -g zabbix -G root             --uid 1997             --shell /sbin/nologin             --home-dir /var/lib/zabbix/         zabbix &&     mkdir -p /etc/zabbix &&     mkdir -p /etc/zabbix/web &&     mkdir -p /etc/zabbix/web/certs &&     mkdir -p /var/lib/php/session &&     dnf -y module enable mysql &&     dnf -y module enable php:7.4 nginx:1.18 &&     REPOLIST="baseos,appstream,epel" &&     INSTALL_PKGS="curl             mysql             nginx             php-bcmath             php-fpm             php-gd             php-ldap             php-mbstring             php-mysqlnd             php-json             php-xml             findutils             glibc-locale-source             supervisor" &&     dnf -y install epel-release &&     dnf -y install         --disablerepo "*"         --enablerepo "${REPOLIST}"         --setopt=tsflags=nodocs         --setopt=install_weak_deps=False         --best         ${INSTALL_PKGS} &&     rm -f /etc/nginx/conf.d/*.conf  &&     rm -f /etc/php-fpm.d/www.conf &&     cd /usr/share/zabbix/ &&     rm -f conf/zabbix.conf.php conf/maintenance.inc.php conf/zabbix.conf.php.example &&     rm -rf tests &&     rm -f locale/add_new_language.sh locale/update_po.sh locale/make_mo.sh &&     find /usr/share/zabbix/locale -name '*.po' | xargs rm -f &&     find /usr/share/zabbix/locale -name '*.sh' | xargs rm -f &&     ln -s "/etc/zabbix/web/zabbix.conf.php" "/usr/share/zabbix/conf/zabbix.conf.php" &&     ln -s "/etc/zabbix/web/maintenance.inc.php" "/usr/share/zabbix/conf/maintenance.inc.php" &&     cat /usr/share/zabbix/include/locales.inc.php | grep display | grep true | awk '{$1=$1};1' |                 cut -d"'" -f 2 | sort |                 xargs -I '{}' bash -c 'echo "{}" && localedef -c -i {} -f UTF-8 {}.UTF-8 2>/dev/null' &&     chown --quiet -R zabbix:root /etc/zabbix/ /usr/share/zabbix/modules/ &&     chgrp -R 0 /etc/zabbix/ /usr/share/zabbix/modules/ &&     chmod -R g=u /etc/zabbix/ /usr/share/zabbix/modules/ &&     chown --quiet -R zabbix:root /etc/nginx/ /etc/php-fpm.d/ /etc/php-fpm.conf &&     chgrp -R 0 /etc/nginx/ /etc/php-fpm.d/ /etc/php-fpm.conf &&     chmod -R g=u /etc/nginx/ /etc/php-fpm.d/ /etc/php-fpm.conf &&     chown --quiet -R zabbix:root /var/lib/php/session/ &&     chgrp -R 0 /var/lib/php/session/ &&     chmod -R g=u /var/lib/php/session/ &&     chown --quiet -R zabbix:root /usr/share/zabbix/include/defines.inc.php &&     chgrp -R 0 /usr/share/zabbix/include/defines.inc.php &&     chmod -R g=u /usr/share/zabbix/include/defines.inc.php &&     dnf -y remove         findutils         glibc-locale-source &&     dnf -y clean all &&     rm -rf /var/cache/yum /var/lib/yum/yumdb/* /usr/lib/udev/hwdb.d/* &&     rm -rf /var/cache/dnf /etc/udev/hwdb.bin /root/.pki # buildkit
                        
# 2021-10-15 22:59:50  13.26KB 复制新文件或目录到容器中
COPY conf/etc/ /etc/ # buildkit
                        
# 2021-10-15 22:59:50  48.76MB 复制新文件或目录到容器中
COPY /tmp/zabbix-5.0.16/ui /usr/share/zabbix # buildkit
                        
# 2021-10-15 22:59:50  0.00B 设置停止容器时发送的系统调用信号
STOPSIGNAL SIGTERM
                        
# 2021-10-15 22:59:50  0.00B 添加元数据标签
LABEL org.opencontainers.image.title=Zabbix web-interface (Nginx, MySQL) org.opencontainers.image.authors=Alexey Pustovalov <alexey.pustovalov@zabbix.com> org.opencontainers.image.vendor=Zabbix LLC org.opencontainers.image.url=https://zabbix.com/ org.opencontainers.image.description=Zabbix web-interface based on Nginx web server with MySQL database support org.opencontainers.image.licenses=GPL v2.0 org.opencontainers.image.documentation=https://www.zabbix.com/documentation/5.0/manual/installation/containers org.opencontainers.image.version=5.0.16 org.opencontainers.image.source=https://git.zabbix.com/scm/zbx/zabbix.git
                        
# 2021-10-15 22:59:50  0.00B 设置环境变量 TERM ZBX_VERSION ZBX_SOURCES
ENV TERM=xterm ZBX_VERSION=5.0.16 ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git
                        
# 2021-10-15 22:59:50  0.00B 定义构建参数
ARG ZBX_SOURCES
                        
# 2021-10-15 22:59:50  0.00B 定义构建参数
ARG ZBX_VERSION
                        
# 2021-10-15 22:59:50  0.00B 定义构建参数
ARG MAJOR_VERSION
                        
# 2021-09-16 02:20:05  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2021-09-16 02:20:04  0.00B 
/bin/sh -c #(nop)  LABEL org.label-schema.schema-version=1.0 org.label-schema.name=CentOS Base Image org.label-schema.vendor=CentOS org.label-schema.license=GPLv2 org.label-schema.build-date=20210915
                        
# 2021-09-16 02:20:04  231.27MB 
/bin/sh -c #(nop) ADD file:805cb5e15fb6e0bb0326ca33fd2942e068863ce2a8491bb71522c652f31fb466 in / 
                        
                    

镜像信息

{
    "Id": "sha256:8ec564a83001c382c50551f514200737366b5d3282fd5b48e989cbee756a1831",
    "RepoTags": [
        "zabbix/zabbix-web-nginx-mysql:5.0-centos",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/zabbix/zabbix-web-nginx-mysql:5.0-centos"
    ],
    "RepoDigests": [
        "zabbix/zabbix-web-nginx-mysql@sha256:1dad7eb721be702cea5636427e71bd9a05a0dbcafaa81123aaac50ed92646e36",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/zabbix/zabbix-web-nginx-mysql@sha256:10930871614ef25677f76ab3190f8f77efcc510531465db0877524b7493a506c"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2021-10-15T15:00:54.846323957Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "1997",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "8080/tcp": {},
            "8443/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=5.0.16",
            "ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git"
        ],
        "Cmd": null,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/usr/share/zabbix",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "org.label-schema.build-date": "20210915",
            "org.label-schema.license": "GPLv2",
            "org.label-schema.name": "CentOS Base Image",
            "org.label-schema.schema-version": "1.0",
            "org.label-schema.vendor": "CentOS",
            "org.opencontainers.image.authors": "Alexey Pustovalov \u003calexey.pustovalov@zabbix.com\u003e",
            "org.opencontainers.image.created": "2021-10-15T14:59:08.336Z",
            "org.opencontainers.image.description": "Zabbix web-interface based on Nginx web server with MySQL database support",
            "org.opencontainers.image.documentation": "https://www.zabbix.com/documentation/5.0/manual/installation/containers",
            "org.opencontainers.image.licenses": "GPL v2.0",
            "org.opencontainers.image.revision": "edc9530392c3e319becad6ebcbfb606ded47550a",
            "org.opencontainers.image.source": "https://git.zabbix.com/scm/zbx/zabbix.git",
            "org.opencontainers.image.title": "Zabbix web-interface (Nginx, MySQL)",
            "org.opencontainers.image.url": "https://zabbix.com/",
            "org.opencontainers.image.vendor": "Zabbix LLC",
            "org.opencontainers.image.version": "5.0.16"
        },
        "StopSignal": "SIGTERM"
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 430573458,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/01ecb8b432ba31cf3cade4351fdb91c9d508a1054ca99cc12638b912ce8ab7e7/diff:/var/lib/docker/overlay2/41531602c30a55193e562a5b4a306925e4c17b3f9e7bbd799d1ae07574e88bef/diff:/var/lib/docker/overlay2/494807ce5457420adf9faaf5ff3b1c6cfe6cdd3620911240694466acfd52745a/diff:/var/lib/docker/overlay2/e0f52ed1e115a2120efc9841202285c958bc03076d156a81efb3413d18ab67bd/diff",
            "MergedDir": "/var/lib/docker/overlay2/405949422c4d3372e5a9423b169ffe1f94288ee1e36a0cdb8e4e1aa78ef5e763/merged",
            "UpperDir": "/var/lib/docker/overlay2/405949422c4d3372e5a9423b169ffe1f94288ee1e36a0cdb8e4e1aa78ef5e763/diff",
            "WorkDir": "/var/lib/docker/overlay2/405949422c4d3372e5a9423b169ffe1f94288ee1e36a0cdb8e4e1aa78ef5e763/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:74ddd0ec08fa43d09f32636ba91a0a3053b02cb4627c35051aff89f853606b59",
            "sha256:41d4c6db731e650f796e75e825295d995d0ca84b1ddaa219dce488798ffb6396",
            "sha256:aec08541d5e1e4bdbd79a9e7cce12471ec70d3fb1c63a0ffa8d03aa80f29457c",
            "sha256:98c1f5918d82c5e01a3eb35278ea7addde76d01144b6683c39479bfa87c737bd",
            "sha256:a452cbdc6c8a38aaa8de233b4d0a6591ee4eb02b7034d84c14c225aa50ad3ffa"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-07-21T10:50:35.907663484+08:00"
    }
}

更多版本

docker.io/zabbix/zabbix-web-nginx-mysql:alpine-7.0-latest

linux/amd64 docker.io292.44MB2024-09-19 02:53
405

docker.io/zabbix/zabbix-web-nginx-mysql:trunk-alpine

linux/arm64 docker.io309.45MB2024-09-23 17:16
507

docker.io/zabbix/zabbix-web-nginx-mysql:alpine-7.0.2

linux/amd64 docker.io292.42MB2024-10-09 11:28
274

docker.io/zabbix/zabbix-web-nginx-mysql:alpine-7.2-latest

linux/amd64 docker.io260.37MB2025-02-05 17:00
238

docker.io/zabbix/zabbix-web-nginx-mysql:ubuntu-7.2-latest

linux/amd64 docker.io457.13MB2025-02-13 15:53
349

docker.io/zabbix/zabbix-web-nginx-mysql:ubuntu-5.0-latest

linux/amd64 docker.io405.05MB2025-02-24 12:39
244

docker.io/zabbix/zabbix-web-nginx-mysql:alpine-5.4.9

linux/amd64 docker.io178.90MB2025-02-27 08:18
162

docker.io/zabbix/zabbix-web-nginx-mysql:alpine-4.4.10

linux/amd64 docker.io167.12MB2025-03-01 10:47
121

docker.io/zabbix/zabbix-web-nginx-mysql:latest

linux/amd64 docker.io261.71MB2025-05-20 14:24
137

docker.io/zabbix/zabbix-web-nginx-mysql:ubuntu-5.4.12

linux/amd64 docker.io369.51MB2025-06-12 20:18
77

docker.io/zabbix/zabbix-web-nginx-mysql:5.0-centos

linux/amd64 docker.io430.57MB2025-07-21 10:50
9