logo
docker.io/percona/percona-mysql-router:8.0.46-37.1
linux/amd64 docker.io

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

15
浏览次数
1.12GB
镜像大小
国内镜像
swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/percona/percona-mysql-router:8.0.46-37.1
源镜像
docker.io/percona/percona-mysql-router:8.0.46-37.1
镜像ID
sha256:f765391113a581921e5c4e28fff2db449072955b800e0c0b33ecfcfdb53b1b15
镜像 TAG
8.0.46-37.1
镜像大小
1.12GB
平台架构
linux/amd64
镜像源
docker.io
CMD
mysqlrouter
启动入口
/entrypoint.sh
工作目录
/
OS/平台
linux/amd64
镜像创建
2026-07-23T10:27:44.648723801Z
同步时间
2026-08-28 13:43
浏览量
15 次
贡献者
📁 目录挂载 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.0.46-37.1 2
MYSQL_SHELL_VERSION=8.0.46-1 3
OS_VER=el9 4
FULL_ROUTE_VERSION=8.0.46-37.1.el9 5
FULL_MYSQL_SHELL_VERSION=8.0.46-1.el9 6
🏷️ 镜像标签 24
KeyValue
x86_64 architecture
2026-07-22T07:34:05Z 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-07-22T07:34:05Z org.opencontainers.image.created
9932c86214d5e8b9c79570f3f4ebe16275359bc0 org.opencontainers.image.revision
1784705586 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
9932c86214d5e8b9c79570f3f4ebe16275359bc0 vcs-ref
git vcs-type
Percona vendor
9.8 version
🛡️ 镜像安全扫描
redhat 9.8 Trivy 2026-08-28 13:43 查看完整报告
334
低危 LOW
269
中危 MEDIUM
45
高危 HIGH
0
严重 CRITICAL
受影响目标 (2)
docker.io/percona/percona-mysql-router:8.0.46-37.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.0.46-37.1
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/percona/percona-mysql-router:8.0.46-37.1  docker.io/percona/percona-mysql-router:8.0.46-37.1

Containerd拉取命令

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

Shell快速替换命令

sed -i 's#percona/percona-mysql-router:8.0.46-37.1#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/percona/percona-mysql-router:8.0.46-37.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.0.46-37.1 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/percona/percona-mysql-router:8.0.46-37.1  docker.io/percona/percona-mysql-router:8.0.46-37.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.0.46-37.1 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/percona/percona-mysql-router:8.0.46-37.1  docker.io/percona/percona-mysql-router:8.0.46-37.1'

镜像构建历史


# 2026-07-23 18:27:44  0.00B 设置默认要执行的命令
CMD ["mysqlrouter"]
                        
# 2026-07-23 18:27:44  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/entrypoint.sh"]
                        
# 2026-07-23 18:27:44  0.00B 指定运行容器时使用的用户
USER 1001
                        
# 2026-07-23 18:27:44  0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/var/lib/mysqlrouter]
                        
# 2026-07-23 18:27:44  11.34KB 复制新文件或目录到容器中
COPY LICENSE /licenses/LICENSE.Dockerfile # buildkit
                        
# 2026-07-23 18:27:44  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-07-23 18:27:44  2.04KB 复制新文件或目录到容器中
COPY dockerdir / # buildkit
                        
# 2026-07-23 18:27:43  850.87MB 执行命令并创建新的镜像层
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-07-23 18:27:29  23.23MB 执行命令并创建新的镜像层
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-80 testing         && percona-release enable mysql-shell testing # buildkit
                        
# 2026-07-23 18:27:24  142.08MB 执行命令并创建新的镜像层
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-07-23 18:27:24  0.00B 设置环境变量 FULL_MYSQL_SHELL_VERSION
ENV FULL_MYSQL_SHELL_VERSION=8.0.46-1.el9
                        
# 2026-07-23 18:27:24  0.00B 设置环境变量 FULL_ROUTE_VERSION
ENV FULL_ROUTE_VERSION=8.0.46-37.1.el9
                        
# 2026-07-23 18:27:24  0.00B 设置环境变量 OS_VER
ENV OS_VER=el9
                        
# 2026-07-23 18:27:24  0.00B 设置环境变量 MYSQL_SHELL_VERSION
ENV MYSQL_SHELL_VERSION=8.0.46-1
                        
# 2026-07-23 18:27:24  0.00B 设置环境变量 ROUTE_VERSION
ENV ROUTE_VERSION=8.0.46-37.1
                        
# 2026-07-23 18:27:24  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-07-22 15:34:25  106.98MB 
/bin/sh -c #(nop) LABEL "org.opencontainers.image.created"="2026-07-22T07:34:05Z" "org.opencontainers.image.revision"="9932c86214d5e8b9c79570f3f4ebe16275359bc0" "build-date"="2026-07-22T07:34:05Z" "architecture"="x86_64" "vcs-ref"="9932c86214d5e8b9c79570f3f4ebe16275359bc0" "vcs-type"="git" "release"="1784705586"org.opencontainers.image.created=2026-07-22T07:34:05Z,org.opencontainers.image.revision=9932c86214d5e8b9c79570f3f4ebe16275359bc0
                        
# 2026-07-22 15:34:25  0.00B 
/bin/sh -c #(nop) COPY dir:3c57dcdf8d00b61e1e938fb8386fff8fc937e99ea4eadb82d9df5d9aeb4fdee1 in /root/buildinfo/      
                        
# 2026-07-22 15:34:25  0.00B 
/bin/sh -c #(nop) COPY dir:3c57dcdf8d00b61e1e938fb8386fff8fc937e99ea4eadb82d9df5d9aeb4fdee1 in /usr/share/buildinfo/      
                        
# 2026-07-22 15:34:25  0.00B 
/bin/sh -c #(nop) CMD ["/bin/bash"]
                        
# 2026-07-22 15:34:25  0.00B 
/bin/sh -c #(nop) COPY file:1376702515d596f414e3aa494e0daa6d408a6d2475c4aeca96bf9392f5287f69 in /etc/yum.repos.d/.      
                        
# 2026-07-22 15:34:25  0.00B 
/bin/sh -c #(nop) COPY dir:6b16b3336a884691d82bd90e5faf7d65fad1354d2664539a143b7bcc0d24b71e in /      
                        
# 2026-07-22 15:34:24  0.00B 
/bin/sh -c #(nop) ENV container oci
                        
# 2026-07-22 15:34:24  0.00B 
/bin/sh -c #(nop) LABEL io.openshift.tags="minimal rhel9"
                        
# 2026-07-22 15:34:24  0.00B 
/bin/sh -c #(nop) LABEL io.openshift.expose-services=""
                        
# 2026-07-22 15:34:24  0.00B 
/bin/sh -c #(nop) LABEL io.k8s.display-name="Red Hat Universal Base Image 9 Minimal"
                        
# 2026-07-22 15:34:24  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-07-22 15:34:24  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-07-22 15:34:24  0.00B 
/bin/sh -c #(nop) LABEL summary="Provides the latest release of the minimal Red Hat Universal Base Image 9."
                        
# 2026-07-22 15:34:24  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-07-22 15:34:24  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-07-22 15:34:24  0.00B 
/bin/sh -c #(nop) LABEL url="https://catalog.redhat.com/en/search?searchType=containers"
                        
# 2026-07-22 15:34:24  0.00B 
/bin/sh -c #(nop) LABEL vendor="Red Hat, Inc."
                        
# 2026-07-22 15:34:24  0.00B 
/bin/sh -c #(nop) LABEL maintainer="Red Hat, Inc."
                        
                    

镜像信息

{
    "Id": "sha256:f765391113a581921e5c4e28fff2db449072955b800e0c0b33ecfcfdb53b1b15",
    "RepoTags": [
        "percona/percona-mysql-router:8.0.46-37.1",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/percona/percona-mysql-router:8.0.46-37.1"
    ],
    "RepoDigests": [
        "percona/percona-mysql-router@sha256:d302ebcd3a4460d4ecbad5182d11efcda1a369df4c7892966f2ba641d404490d",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/percona/percona-mysql-router@sha256:7152a8bd8734e18f003e9005647ea8b12aad3ed8567d89261d4d759d3847e950"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2026-07-23T10:27:44.648723801Z",
    "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.0.46-37.1",
            "MYSQL_SHELL_VERSION=8.0.46-1",
            "OS_VER=el9",
            "FULL_ROUTE_VERSION=8.0.46-37.1.el9",
            "FULL_MYSQL_SHELL_VERSION=8.0.46-1.el9"
        ],
        "Cmd": [
            "mysqlrouter"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": {
            "/var/lib/mysqlrouter": {}
        },
        "WorkingDir": "/",
        "Entrypoint": [
            "/entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "architecture": "x86_64",
            "build-date": "2026-07-22T07:34:05Z",
            "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-07-22T07:34:05Z",
            "org.opencontainers.image.revision": "9932c86214d5e8b9c79570f3f4ebe16275359bc0",
            "release": "1784705586",
            "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": "9932c86214d5e8b9c79570f3f4ebe16275359bc0",
            "vcs-type": "git",
            "vendor": "Percona",
            "version": "9.8"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 1123170287,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/b08f68ee643410df8040c3e5fb9d1795b28138cef7a548f7ecefc4fb8212a68f/diff:/var/lib/docker/overlay2/3a744bd8951dd9dc7fccee8585d8f0a642f7688c1587a41104ae7d6914784a84/diff:/var/lib/docker/overlay2/000e02c3a3889352c4ba4f21bf842b13413f25ef0bbb3ecf38a14b7c70c0434d/diff:/var/lib/docker/overlay2/501fd5d1d9ddf45865ced6fbb37dacd77ddf404916b0c26d115a2196c76eca45/diff:/var/lib/docker/overlay2/b006d22128c6b11fa33f52e0aa3ad350996899ec6543b7973de0ccfb89193928/diff:/var/lib/docker/overlay2/9d91cf33adf142d56dfe5544a488e355717a72c7b17a28df72eb5fee6a85ba13/diff",
            "MergedDir": "/var/lib/docker/overlay2/cf8c66ba23a9d9f67d4092dfbb89e70910acf44acc197d74ba13f0f4a5d86c69/merged",
            "UpperDir": "/var/lib/docker/overlay2/cf8c66ba23a9d9f67d4092dfbb89e70910acf44acc197d74ba13f0f4a5d86c69/diff",
            "WorkDir": "/var/lib/docker/overlay2/cf8c66ba23a9d9f67d4092dfbb89e70910acf44acc197d74ba13f0f4a5d86c69/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:13c344e04a81417091a8c59bc6255275a456ebba923cbed497cc39f6764b201c",
            "sha256:378db2affbdb4a85294f1c25e132d3ee9d18cca278af9cac42716c7f3b99231c",
            "sha256:98cbc935e170064af154feb57fe42ca85cff9f4ec9c0f041e9282adef16eac28",
            "sha256:b1c04e71646dec5739b76bdec0edac41c63757142e10db0e5dfc4a891cfadb44",
            "sha256:f3aaeffe9be84d2ed18f363c440ac54235e870a2c2ae6f599e2e745831766888",
            "sha256:60b17b81b49f364647ace0d0452dc06045feea5f001cc36c3784590193051629",
            "sha256:d50252c04e0ab34fc11dfb9a96dbe43497e049d376ba65e1c9838178ef62a1c2"
        ]
    },
    "Metadata": {
        "LastTagTime": "2026-08-28T13:43:04.310666672+08:00"
    }
}

更多版本

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

linux/amd64 docker.io1.14GB2026-08-25 09:36
33

docker.io/percona/percona-mysql-router:8.0.46-37.1

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