logo
docker.io/percona/percona-mysql-router:8.4.11-11.1
linux/amd64 docker.io

Percona MySQL Router是Percona官方提供的轻量级中间件,用于在MySQL数据库集群环境中(如Percona XtraDB Cluster、MySQL InnoDB Cluster等)实现客户端连接的路由与负载均衡,支持读写分离、故障自动切换,帮助提升数据库集群的可用性和性能,简化客户端与集群节点的交互,无需客户端直接感知集群内部节点的变化。

17
浏览次数
1.14GB
镜像大小
国内镜像
swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/percona/percona-mysql-router:8.4.11-11.1
源镜像
docker.io/percona/percona-mysql-router:8.4.11-11.1
镜像ID
sha256:a035f6641bed659d3ad2bc8792900cf4b1b381ca4e01caacabc93fc3494dddb6
镜像 TAG
8.4.11-11.1
镜像大小
1.14GB
平台架构
linux/amd64
镜像源
docker.io
CMD
mysqlrouter
启动入口
/entrypoint.sh
工作目录
/
OS/平台
linux/amd64
镜像创建
2026-08-19T09:16:25.966584916Z
同步时间
2026-08-25 09:36
浏览量
17 次
贡献者
📁 目录挂载 1
 /var/lib/mysqlrouter
⚙️ 环境变量 7
KeyValue
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 0
container=oci 1
ROUTE_VERSION=8.4.11-11.1 2
MYSQL_SHELL_VERSION=8.4.10-1 3
OS_VER=el9 4
FULL_ROUTE_VERSION=8.4.11-11.1.el9 5
FULL_MYSQL_SHELL_VERSION=8.4.10-1.el9 6
🏷️ 镜像标签 24
KeyValue
x86_64 architecture
2026-08-17T17:26:46Z build-date
ubi9-minimal-container com.redhat.component
https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI com.redhat.license_terms
cpe:/a:redhat:enterprise_linux:9::appstream cpe
MySQL Router is lightweight middleware that provides transparent routing between your application and back-end MySQL Servers description
public distribution-scope
1.44.0 io.buildah.version
The Universal Base Image Minimal is a stripped down image that uses microdnf as a package manager. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly. io.k8s.description
Red Hat Universal Base Image 9 Minimal io.k8s.display-name
io.openshift.expose-services
minimal rhel9 io.openshift.tags
Percona Development <info@percona.com> maintainer
mysql-router name
info@percona.com org.opencontainers.image.authors
2026-08-17T17:26:46Z org.opencontainers.image.created
6bb838e7904a1c68094d157a898fff623ad3fcb9 org.opencontainers.image.revision
1786987521 release
MySQL Router is lightweight middleware that provides transparent routing between your application and back-end MySQL Servers summary
https://catalog.redhat.com/en/search?searchType=containers url
6bb838e7904a1c68094d157a898fff623ad3fcb9 vcs-ref
git vcs-type
Percona vendor
9.8 version
🛡️ 镜像安全扫描
redhat 9.8 Trivy 2026-08-25 09:37 查看完整报告
334
低危 LOW
251
中危 MEDIUM
21
高危 HIGH
0
严重 CRITICAL
受影响目标 (2)
docker.io/percona/percona-mysql-router:8.4.11-11.1 (redhat 9.8) redhat Python python-pkg

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/percona/percona-mysql-router:8.4.11-11.1
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/percona/percona-mysql-router:8.4.11-11.1  docker.io/percona/percona-mysql-router:8.4.11-11.1

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/percona/percona-mysql-router:8.4.11-11.1
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/percona/percona-mysql-router:8.4.11-11.1  docker.io/percona/percona-mysql-router:8.4.11-11.1

Shell快速替换命令

sed -i 's#percona/percona-mysql-router:8.4.11-11.1#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/percona/percona-mysql-router:8.4.11-11.1#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/percona/percona-mysql-router:8.4.11-11.1 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/percona/percona-mysql-router:8.4.11-11.1  docker.io/percona/percona-mysql-router:8.4.11-11.1'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/percona/percona-mysql-router:8.4.11-11.1 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/percona/percona-mysql-router:8.4.11-11.1  docker.io/percona/percona-mysql-router:8.4.11-11.1'

镜像构建历史


# 2026-08-19 17:16:25  0.00B 设置默认要执行的命令
CMD ["mysqlrouter"]
                        
# 2026-08-19 17:16:25  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/entrypoint.sh"]
                        
# 2026-08-19 17:16:25  0.00B 指定运行容器时使用的用户
USER 1001
                        
# 2026-08-19 17:16:25  0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/var/lib/mysqlrouter]
                        
# 2026-08-19 17:16:25  11.34KB 复制新文件或目录到容器中
COPY LICENSE /licenses/LICENSE.Dockerfile # buildkit
                        
# 2026-08-19 17:16:25  1.64KB 执行命令并创建新的镜像层
RUN /bin/sh -c set -ex;     mkdir -p /tmp/mysqlrouter/run /var/lib/mysqlrouter ;     chown -R 1001:1001 /tmp/mysqlrouter/run /var/lib/mysqlrouter ;     chmod -R 777 /var/log/mysqlrouter ;     chmod -R 777 /tmp/mysqlrouter ;     chmod -R 777 /etc/mysqlrouter # buildkit
                        
# 2026-08-19 17:16:25  2.04KB 复制新文件或目录到容器中
COPY dockerdir / # buildkit
                        
# 2026-08-19 17:16:25  865.91MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -ex;     microdnf install -y         percona-mysql-router-${FULL_ROUTE_VERSION}         percona-mysql-shell-${FULL_MYSQL_SHELL_VERSION}         which         tar         openssl         vim-minimal         procps-ng         bind-utils         policycoreutils;         microdnf clean all;     rm -rf /var/cache # buildkit
                        
# 2026-08-19 17:16:11  23.45MB 执行命令并创建新的镜像层
RUN /bin/sh -c export GNUPGHOME="$(mktemp -d)" 	&& microdnf install -y findutils 	&& gpg --keyserver keyserver.ubuntu.com --recv-keys 4D1BB29D63D98E422B2113B19334A25F8507EFA5 99DB70FAE1D7CE227FB6488205B555B38483C65D 	&& gpg --export --armor 4D1BB29D63D98E422B2113B19334A25F8507EFA5 > ${GNUPGHOME}/PERCONA-PACKAGING-KEY 	&& rpmkeys --import ${GNUPGHOME}/PERCONA-PACKAGING-KEY 	&& curl -Lf -o /tmp/percona-release.rpm https://repo.percona.com/yum/percona-release-latest.noarch.rpm 	&& rpmkeys --checksig /tmp/percona-release.rpm 	&& rpm -i /tmp/percona-release.rpm 	&& rm -rf "$GNUPGHOME" /tmp/percona-release.rpm 	&& rpm --import /etc/pki/rpm-gpg/PERCONA-PACKAGING-KEY         && percona-release enable ps-84-lts testing         && percona-release enable mysql-shell testing # buildkit
                        
# 2026-08-19 17:16:07  142.11MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -ex;     microdnf -y update;     microdnf -y install glibc-langpack-en         nss_wrapper         python         shadow-utils;     microdnf clean all;     groupadd -g 1001 mysql;     useradd -u 1001 -r -g 1001 -s /sbin/nologin         -m -c "Default Application User" mysql # buildkit
                        
# 2026-08-19 17:16:07  0.00B 设置环境变量 FULL_MYSQL_SHELL_VERSION
ENV FULL_MYSQL_SHELL_VERSION=8.4.10-1.el9
                        
# 2026-08-19 17:16:07  0.00B 设置环境变量 FULL_ROUTE_VERSION
ENV FULL_ROUTE_VERSION=8.4.11-11.1.el9
                        
# 2026-08-19 17:16:07  0.00B 设置环境变量 OS_VER
ENV OS_VER=el9
                        
# 2026-08-19 17:16:07  0.00B 设置环境变量 MYSQL_SHELL_VERSION
ENV MYSQL_SHELL_VERSION=8.4.10-1
                        
# 2026-08-19 17:16:07  0.00B 设置环境变量 ROUTE_VERSION
ENV ROUTE_VERSION=8.4.11-11.1
                        
# 2026-08-19 17:16:07  0.00B 添加元数据标签
LABEL name=mysql-router description=MySQL Router is lightweight middleware that provides transparent routing between your application and back-end MySQL Servers vendor=Percona summary=MySQL Router is lightweight middleware that provides transparent routing between your application and back-end MySQL Servers org.opencontainers.image.authors=info@percona.com maintainer=Percona Development <info@percona.com>
                        
# 2026-08-18 01:27:16  106.99MB 
/bin/sh -c #(nop) LABEL "org.opencontainers.image.created"="2026-08-17T17:26:46Z" "org.opencontainers.image.revision"="6bb838e7904a1c68094d157a898fff623ad3fcb9" "build-date"="2026-08-17T17:26:46Z" "architecture"="x86_64" "vcs-ref"="6bb838e7904a1c68094d157a898fff623ad3fcb9" "vcs-type"="git" "release"="1786987521"org.opencontainers.image.created=2026-08-17T17:26:46Z,org.opencontainers.image.revision=6bb838e7904a1c68094d157a898fff623ad3fcb9
                        
# 2026-08-18 01:27:16  0.00B 
/bin/sh -c #(nop) COPY dir:65a3d9e22af3e56e090455b33d2c3174efac94e4f8a1283201a9e46186020641 in /root/buildinfo/      
                        
# 2026-08-18 01:27:16  0.00B 
/bin/sh -c #(nop) COPY dir:65a3d9e22af3e56e090455b33d2c3174efac94e4f8a1283201a9e46186020641 in /usr/share/buildinfo/      
                        
# 2026-08-18 01:27:16  0.00B 
/bin/sh -c #(nop) CMD ["/bin/bash"]
                        
# 2026-08-18 01:27:16  0.00B 
/bin/sh -c #(nop) COPY file:1376702515d596f414e3aa494e0daa6d408a6d2475c4aeca96bf9392f5287f69 in /etc/yum.repos.d/.      
                        
# 2026-08-18 01:27:16  0.00B 
/bin/sh -c #(nop) COPY dir:975e595a9e6cbbfee7f07eb5443a58fb81eff06cafb12ae4f0e1422e8692c141 in /      
                        
# 2026-08-18 01:27:15  0.00B 
/bin/sh -c #(nop) ENV container oci
                        
# 2026-08-18 01:27:15  0.00B 
/bin/sh -c #(nop) LABEL io.openshift.tags="minimal rhel9"
                        
# 2026-08-18 01:27:15  0.00B 
/bin/sh -c #(nop) LABEL io.openshift.expose-services=""
                        
# 2026-08-18 01:27:15  0.00B 
/bin/sh -c #(nop) LABEL io.k8s.display-name="Red Hat Universal Base Image 9 Minimal"
                        
# 2026-08-18 01:27:15  0.00B 
/bin/sh -c #(nop) LABEL io.k8s.description="The Universal Base Image Minimal is a stripped down image that uses microdnf as a package manager. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly."
                        
# 2026-08-18 01:27:15  0.00B 
/bin/sh -c #(nop) LABEL description="The Universal Base Image Minimal is a stripped down image that uses microdnf as a package manager. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly."
                        
# 2026-08-18 01:27:15  0.00B 
/bin/sh -c #(nop) LABEL summary="Provides the latest release of the minimal Red Hat Universal Base Image 9."
                        
# 2026-08-18 01:27:15  0.00B 
/bin/sh -c #(nop) LABEL com.redhat.license_terms="https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
                        
# 2026-08-18 01:27:15  0.00B 
/bin/sh -c #(nop) LABEL com.redhat.component="ubi9-minimal-container"       name="ubi9/ubi-minimal"       version="9.8"       cpe="cpe:/a:redhat:enterprise_linux:9::appstream"       distribution-scope="public"
                        
# 2026-08-18 01:27:15  0.00B 
/bin/sh -c #(nop) LABEL url="https://catalog.redhat.com/en/search?searchType=containers"
                        
# 2026-08-18 01:27:15  0.00B 
/bin/sh -c #(nop) LABEL vendor="Red Hat, Inc."
                        
# 2026-08-18 01:27:15  0.00B 
/bin/sh -c #(nop) LABEL maintainer="Red Hat, Inc."
                        
                    

镜像信息

{
    "Id": "sha256:a035f6641bed659d3ad2bc8792900cf4b1b381ca4e01caacabc93fc3494dddb6",
    "RepoTags": [
        "percona/percona-mysql-router:8.4.11-11.1",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/percona/percona-mysql-router:8.4.11-11.1"
    ],
    "RepoDigests": [
        "percona/percona-mysql-router@sha256:0ca4f062b3d076faa6dcaee228227fc7ce61a13bddbbe075e47a13fe6076d867",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/percona/percona-mysql-router@sha256:40f46561eaa758ce4a84c87a8ccee13914e997ccd7f9ca51c782d923ac6f3cfe"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2026-08-19T09:16:25.966584916Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "1001",
        "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",
            "container=oci",
            "ROUTE_VERSION=8.4.11-11.1",
            "MYSQL_SHELL_VERSION=8.4.10-1",
            "OS_VER=el9",
            "FULL_ROUTE_VERSION=8.4.11-11.1.el9",
            "FULL_MYSQL_SHELL_VERSION=8.4.10-1.el9"
        ],
        "Cmd": [
            "mysqlrouter"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": {
            "/var/lib/mysqlrouter": {}
        },
        "WorkingDir": "/",
        "Entrypoint": [
            "/entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "architecture": "x86_64",
            "build-date": "2026-08-17T17:26:46Z",
            "com.redhat.component": "ubi9-minimal-container",
            "com.redhat.license_terms": "https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI",
            "cpe": "cpe:/a:redhat:enterprise_linux:9::appstream",
            "description": "MySQL Router is lightweight middleware that provides transparent routing between your application and back-end MySQL Servers",
            "distribution-scope": "public",
            "io.buildah.version": "1.44.0",
            "io.k8s.description": "The Universal Base Image Minimal is a stripped down image that uses microdnf as a package manager. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly.",
            "io.k8s.display-name": "Red Hat Universal Base Image 9 Minimal",
            "io.openshift.expose-services": "",
            "io.openshift.tags": "minimal rhel9",
            "maintainer": "Percona Development \u003cinfo@percona.com\u003e",
            "name": "mysql-router",
            "org.opencontainers.image.authors": "info@percona.com",
            "org.opencontainers.image.created": "2026-08-17T17:26:46Z",
            "org.opencontainers.image.revision": "6bb838e7904a1c68094d157a898fff623ad3fcb9",
            "release": "1786987521",
            "summary": "MySQL Router is lightweight middleware that provides transparent routing between your application and back-end MySQL Servers",
            "url": "https://catalog.redhat.com/en/search?searchType=containers",
            "vcs-ref": "6bb838e7904a1c68094d157a898fff623ad3fcb9",
            "vcs-type": "git",
            "vendor": "Percona",
            "version": "9.8"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 1138469634,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/3c01a15cbf48cfdd5afaadc212749409f1035dfc579babefbf42d71db1f4a6f5/diff:/var/lib/docker/overlay2/a83b92fd708b87a0ecda894c2a5768972ee0cf8eb246fef027cad32c93fd15aa/diff:/var/lib/docker/overlay2/5334ee3f915cdd5a9712e3eea55d5da7786e6ef931d8cd44c3e769c8eeb06e59/diff:/var/lib/docker/overlay2/21c3eb510baf3d858bf2b953edc358e42476770dcdde68c6b12e9d351aa8d073/diff:/var/lib/docker/overlay2/887bd94772fa1fff53067865e8be40f6e149eb2eb4b47bd8efe4ac38620a6c4c/diff:/var/lib/docker/overlay2/e04ebe2d9d136c57e474c7e20bc949ddf3a9b8cf343240874afa8cebdfc52630/diff",
            "MergedDir": "/var/lib/docker/overlay2/9294678f418e54b15d87dbc84fb5a3ffe18b84f3480d78b93b43a0900655ea8f/merged",
            "UpperDir": "/var/lib/docker/overlay2/9294678f418e54b15d87dbc84fb5a3ffe18b84f3480d78b93b43a0900655ea8f/diff",
            "WorkDir": "/var/lib/docker/overlay2/9294678f418e54b15d87dbc84fb5a3ffe18b84f3480d78b93b43a0900655ea8f/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:a17734aea26f8f27c03c4cd17af946efb17adbfadf50e1a03700639fcccdb6dc",
            "sha256:429addf0aa9658d0c3e53856bfdd8b8c55968113362ad8b6616eea30bd5994c9",
            "sha256:de35b9005499f1f20f1579ee09f9d232c5348baeaac4ea463af11b2c9a038a1d",
            "sha256:bba0e398a5337ca13833c30e94daab654ba37a6294ba1de9094e58e0b31a73f4",
            "sha256:039d577b2c28da7eaa2dcc394f0f4e449eb6a838c6ee559144b669958c24f7c3",
            "sha256:9618d2dbba0d1807afb4a115b4ba94fc8930e068c29f7c8ff1c9ae605d1c5785",
            "sha256:386d0ceba0bdb04146023e0081dc44b18499c04253dcd3908804cc7b22796914"
        ]
    },
    "Metadata": {
        "LastTagTime": "2026-08-25T09:36:24.451433183+08:00"
    }
}

更多版本

docker.io/percona/percona-mysql-router:8.4.11-11.1

linux/amd64 docker.io1.14GB2026-08-25 09:36
16
检测到您正在使用广告拦截插件,本站为公益站点,依赖广告维持运转 🙏 查看如何关闭 ×