docker.io/mysql:8.4.2 linux/amd64

docker.io/mysql:8.4.2 - 国内下载镜像源 浏览次数:1116 安全受验证的发布者-Mysql
MySQL是一种广泛使用的开源关系型数据库管理系统(RDBMS),由瑞典公司MySQL AB开发,后被Sun Microsystems收购,现在归Oracle公司所有。MySQL以其高性能、高可靠性和易用性著称,支持SQL(Structured Query Language)语言,用于管理和处理结构化的数据集。
源镜像 docker.io/mysql:8.4.2
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mysql:8.4.2
镜像ID sha256:233a484acc79daf2d74ea6eb4f702bbbaea5f092c0b102a70dfe23bd4a172d8b
镜像TAG 8.4.2
大小 583.14MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD mysqld
启动入口 docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 1116 次
贡献者
镜像创建 2024-07-22T22:32:47Z
同步时间 2024-07-30 11:20
更新时间 2024-12-11 17:28
开放端口
3306/tcp 33060/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GOSU_VERSION=1.17 MYSQL_MAJOR=8.4 MYSQL_VERSION=8.4.2-1.el9 MYSQL_SHELL_VERSION=8.4.1-1.el9

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2024-07-23 06:32:47 CMD ["mysqld"]
0.00B 2024-07-23 06:32:47 EXPOSE map[3306/tcp:{} 33060/tcp:{}]
0.00B 2024-07-23 06:32:47 ENTRYPOINT ["docker-entrypoint.sh"]
13.83KB 2024-07-23 06:32:47 COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
0.00B 2024-07-23 06:32:47 VOLUME [/var/lib/mysql]
312.32MB 2024-07-23 06:32:47 RUN /bin/sh -c set -eux; microdnf install -y "mysql-shell-$MYSQL_SHELL_VERSION"; microdnf clean all; mysqlsh --version # buildkit
0.00B 2024-07-23 06:32:47 ENV MYSQL_SHELL_VERSION=8.4.1-1.el9
219.00B 2024-07-23 06:32:47 RUN /bin/sh -c set -eu; { echo '[mysql-tools-community]'; echo 'name=MySQL Tools Community'; echo 'baseurl=https://repo.mysql.com/yum/mysql-tools-8.4-community/el/9/$basearch/'; echo 'enabled=1'; echo 'gpgcheck=1'; echo 'gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql'; echo 'module_hotfixes=true'; } | tee /etc/yum.repos.d/mysql-community-tools.repo # buildkit
139.70MB 2024-07-23 06:32:47 RUN /bin/sh -c set -eux; microdnf install -y "mysql-community-server-minimal-$MYSQL_VERSION"; microdnf clean all; grep -F 'socket=/var/lib/mysql/mysql.sock' /etc/my.cnf; sed -i 's!^socket=.*!socket=/var/run/mysqld/mysqld.sock!' /etc/my.cnf; grep -F 'socket=/var/run/mysqld/mysqld.sock' /etc/my.cnf; { echo '[client]'; echo 'socket=/var/run/mysqld/mysqld.sock'; } >> /etc/my.cnf; ! grep -F '!includedir' /etc/my.cnf; { echo; echo '!includedir /etc/mysql/conf.d/'; } >> /etc/my.cnf; mkdir -p /etc/mysql/conf.d; mkdir -p /var/lib/mysql /var/run/mysqld; chown mysql:mysql /var/lib/mysql /var/run/mysqld; chmod 1777 /var/lib/mysql /var/run/mysqld; mkdir /docker-entrypoint-initdb.d; mysqld --version; mysql --version # buildkit
225.00B 2024-07-23 06:32:47 RUN /bin/sh -c set -eu; { echo '[mysql8.4-server-minimal]'; echo 'name=MySQL 8.4 Server Minimal'; echo 'enabled=1'; echo 'baseurl=https://repo.mysql.com/yum/mysql-8.4-community/docker/el/9/$basearch/'; echo 'gpgcheck=1'; echo 'gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql'; echo 'module_hotfixes=true'; } | tee /etc/yum.repos.d/mysql-community-minimal.repo # buildkit
0.00B 2024-07-23 06:32:47 ENV MYSQL_VERSION=8.4.2-1.el9
0.00B 2024-07-23 06:32:47 ENV MYSQL_MAJOR=8.4
3.17KB 2024-07-23 06:32:47 RUN /bin/sh -c set -eux; key='BCA4 3417 C3B4 85DD 128E C6D4 B7B3 B788 A8D3 785C'; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; gpg --batch --export --armor "$key" > /etc/pki/rpm-gpg/RPM-GPG-KEY-mysql; rm -rf "$GNUPGHOME" # buildkit
16.49MB 2024-07-23 06:32:47 RUN /bin/sh -c set -eux; microdnf install -y bzip2 gzip openssl xz zstd findutils ; microdnf clean all # buildkit
2.36MB 2024-07-23 06:32:47 RUN /bin/sh -c set -eux; arch="$(uname -m)"; case "$arch" in aarch64) gosuArch='arm64' ;; x86_64) gosuArch='amd64' ;; *) echo >&2 "error: unsupported architecture: '$arch'"; exit 1 ;; esac; curl -fL -o /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$gosuArch.asc"; curl -fL -o /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$gosuArch"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit
0.00B 2024-07-23 06:32:47 ENV GOSU_VERSION=1.17
2.77KB 2024-07-23 06:32:47 RUN /bin/sh -c set -eux; groupadd --system --gid 999 mysql; useradd --system --uid 999 --gid 999 --home-dir /var/lib/mysql --no-create-home mysql # buildkit
0.00B 2024-07-09 07:20:26 /bin/sh -c #(nop) CMD ["/bin/bash"]
112.25MB 2024-07-09 07:20:26 /bin/sh -c #(nop) ADD file:61bb1ff5b435c8d45a692de54806f1a1d44cbd176c28877e360a68f4d0e7de6f in /

镜像信息

{
    "Id": "sha256:233a484acc79daf2d74ea6eb4f702bbbaea5f092c0b102a70dfe23bd4a172d8b",
    "RepoTags": [
        "mysql:8.4.2",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mysql:8.4.2"
    ],
    "RepoDigests": [
        "mysql@sha256:a13510e6c70e4be896cb904ba1fe3d4d466193928324744bb2356e865c097ebb",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mysql@sha256:15e4c57b1ec304c26e6fde1f51abda846005120742e4909fa7b19a8a391bd8e5"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-07-22T22:32:47Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "3306/tcp": {},
            "33060/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "GOSU_VERSION=1.17",
            "MYSQL_MAJOR=8.4",
            "MYSQL_VERSION=8.4.2-1.el9",
            "MYSQL_SHELL_VERSION=8.4.1-1.el9"
        ],
        "Cmd": [
            "mysqld"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": {
            "/var/lib/mysql": {}
        },
        "WorkingDir": "",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 583137681,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/5152c44c0b915c873d2024b8c15635dd0616be0d2cf896240c6700a307944468/diff:/var/lib/docker/overlay2/c1add6396ac93ecc8f59f97dcd8412cf1aac2638143494ab6e4169d02ea2ae4c/diff:/var/lib/docker/overlay2/cb1f25648bc8abba073912a638ed1c679e073157c249fb84f29ea2911b663fa4/diff:/var/lib/docker/overlay2/ff959dfc23648ef85afbd116cc2a9117defd4c0019eb24e3cbc48be7b6dccb87/diff:/var/lib/docker/overlay2/15edb6e6d957a0892a6b52d59f94e2e46bc084a9a697a79c6c584ca0e7452f12/diff:/var/lib/docker/overlay2/5f486c9a2a3265fc35b737010bf449225241c08db238d55739637b6f3aeded8b/diff:/var/lib/docker/overlay2/ab64389b3645c0b82f4e99a1f32387f3f9a8041746331362bbdd752da3a92803/diff:/var/lib/docker/overlay2/d9bebe91a94e041eb77ef807a92054dbbcb3efddca7da143dcacb55df29fb4f9/diff:/var/lib/docker/overlay2/2e44d0fadcb5962c37b808a0f5a0fc9fa5550826fd65e2a467703bd49e608eb8/diff",
            "MergedDir": "/var/lib/docker/overlay2/9dd0d7629c83da707309a72cda7b9726ccee24258a9946423120364a97c7689f/merged",
            "UpperDir": "/var/lib/docker/overlay2/9dd0d7629c83da707309a72cda7b9726ccee24258a9946423120364a97c7689f/diff",
            "WorkDir": "/var/lib/docker/overlay2/9dd0d7629c83da707309a72cda7b9726ccee24258a9946423120364a97c7689f/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:2606c15a4838dfb909dab29f47c601a797f657f51a35005bd06d01da891d813c",
            "sha256:1983645dbe46627e17e6a78d0f29f4ef01210fc19ffedccfcfafc5d992b5f559",
            "sha256:db318f457ad32a7f8e3f5e510f2a099e81d7dce9d9b203fcabb6579a50925521",
            "sha256:6d49dc8c47410f7d87d1b82f1376df6e741bd45842df825f7d77aa246be35145",
            "sha256:3e81f09fd7c248a96105ab4d1d0d368df1475594b279afbd6437e9ee8ad60a04",
            "sha256:c69381dc430f85c82d12962ff55d414c7ccbfc4e2e1cab5709987a30bd575b66",
            "sha256:30aa09f809ad5636b23086bd4a6c71526dcf47e3299e038b192fa3183cd4f80b",
            "sha256:10fc4619efb4db56aae3b3448791585ede342acda5588eee819ec10998c0820e",
            "sha256:30b321b657efac17c02d33f88c3e42756e21da6a44659dd4448f4cb58fefef0b",
            "sha256:18bbf6a2e62e6c73d7ac0754951e30ee57f96fac7a35d5516ecafff2a14b9158"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-07-30T11:20:15.381444612+08:00"
    }
}

更多版本

docker.io/mysql:5.7.44

linux/amd64 docker.io501.39MB2024-06-11 18:14
2284

docker.io/mysql:8.4.0

linux/amd64 docker.io577.87MB2024-06-11 18:17
766

docker.io/mysql:8.0

linux/amd64 docker.io566.98MB2024-06-11 18:18
3573

docker.io/mysql:8.0-debian

linux/amd64 docker.io610.55MB2024-06-11 18:20
239

docker.io/mysql:5.7

linux/amd64 docker.io501.39MB2024-06-20 10:25
1491

docker.io/mysql:8.0.37

linux/amd64 docker.io567.00MB2024-06-20 17:51
1696

docker.io/mysql:5.7.13

linux/amd64 docker.io380.22MB2024-06-24 10:18
240

docker.io/mysql:8.0.35

linux/amd64 docker.io590.94MB2024-06-24 13:53
523

docker.io/mysql:5.7.33

linux/amd64 docker.io448.73MB2024-06-25 08:40
368

docker.io/mysql:8.0.38

linux/amd64 docker.io572.02MB2024-07-04 16:25
606

docker.io/mysql:9.0.0

linux/amd64 docker.io585.65MB2024-07-05 12:01
561

docker.io/mysql:5.7.40

linux/amd64 docker.io494.69MB2024-07-12 13:24
665

docker.io/mysql:8.4.1

linux/amd64 docker.io583.11MB2024-07-15 16:05
363

docker.io/mysql:8.3

linux/amd64 docker.io632.37MB2024-07-26 16:38
275

docker.io/mysql:8.4.2

linux/amd64 docker.io583.14MB2024-07-30 11:20
1115

docker.io/mysql:8.2.0

linux/amd64 docker.io618.82MB2024-07-30 23:22
253

docker.io/mysql:5.7.18

linux/amd64 docker.io407.03MB2024-08-06 16:04
326

docker.io/mysql:8.0.16

linux/amd64 docker.io443.01MB2024-08-15 14:34
197

docker.io/mysql:8.2

linux/amd64 docker.io618.82MB2024-08-18 12:20
197

docker.io/mysql:8.0.39

linux/amd64 docker.io572.04MB2024-08-20 14:28
695

docker.io/mysql:8.0.39

linux/arm64 docker.io590.02MB2024-08-21 17:22
1216

docker.io/mysql:9.0.1

linux/amd64 docker.io585.61MB2024-08-22 15:10
841

docker.io/mysql:8.0.27

linux/amd64 docker.io515.59MB2024-08-28 09:57
182

docker.io/mysql:8.0.31

linux/amd64 docker.io538.01MB2024-08-30 10:55
344

docker.io/mysql:8.1.0

linux/amd64 docker.io574.01MB2024-09-02 16:20
170

docker.io/mysql:8.0.36

linux/amd64 docker.io602.94MB2024-09-03 16:31
327

docker.io/mysql:5.7.35

linux/amd64 docker.io448.23MB2024-09-10 19:26
187

docker.io/mysql:8.0-oracle

linux/amd64 docker.io572.57MB2024-09-19 09:46
124

docker.io/mysql:8.0.26

linux/amd64 docker.io513.81MB2024-09-29 18:00
130

docker.io/mysql:8.0.32

linux/arm64 docker.io543.81MB2024-10-10 15:02
194

docker.io/mysql:8.0.35

linux/arm64 docker.io610.94MB2024-10-10 15:08
117

docker.io/mysql:5.6.48

linux/amd64 docker.io302.32MB2024-10-20 15:34
195

docker.io/mysql:8.0.28

linux/amd64 docker.io520.74MB2024-10-21 14:52
136

docker.io/mysql:5.7.32

linux/amd64 docker.io448.50MB2024-10-22 10:55
113

docker.io/mysql:8.0.32

linux/amd64 docker.io530.50MB2024-10-23 10:01
102

docker.io/mysql:8.4.3

linux/amd64 docker.io592.52MB2024-10-25 09:40
400

docker.io/mysql:5.7.31

linux/amd64 docker.io448.49MB2024-10-29 17:18
92

docker.io/mysql:8.0.3

linux/amd64 docker.io342.58MB2024-10-29 17:39
83

docker.io/mysql:5.7.26

linux/amd64 docker.io372.91MB2024-10-30 09:47
167

docker.io/mysql:5.7.42

linux/amd64 docker.io581.08MB2024-10-30 15:04
192

docker.io/mysql:5.7.37

linux/amd64 docker.io449.62MB2024-10-30 16:45
200

docker.io/mysql:8.0.33

linux/arm64 docker.io587.07MB2024-11-01 18:19
81

docker.io/mysql/mysql-server:8.0.32

linux/amd64 docker.io495.92MB2024-11-03 22:52
157

docker.io/mysql:8.0.37-oraclelinux9

linux/amd64 docker.io567.00MB2024-11-08 21:00
69

docker.io/mysql:8.0.33-debian

linux/amd64 docker.io602.07MB2024-11-14 14:29
38

docker.io/mysql:8.0.30

linux/amd64 docker.io449.00MB2024-11-15 19:09
45

docker.io/mysql:8.0.40-debian

linux/amd64 docker.io609.79MB2024-12-03 15:17
44

docker.io/mysql:5.7.30

linux/amd64 docker.io448.10MB2024-12-05 13:48
27

docker.io/mysql:8.4.0-oraclelinux8

linux/amd64 docker.io623.11MB2024-12-09 13:41
17

docker.io/mysql/mysql-router:latest

linux/amd64 docker.io254.61MB2024-12-10 12:16
15

docker.io/mysql/mysql-router:8.0.32

linux/amd64 docker.io254.61MB2024-12-10 12:18
15