docker.io/mysql:8.0.31 linux/amd64

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

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2022-12-07 10:23:31 /bin/sh -c #(nop) CMD ["mysqld"]
0.00B 2022-12-07 10:23:31 /bin/sh -c #(nop) EXPOSE 3306 33060
0.00B 2022-12-07 10:23:31 /bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
34.00B 2022-12-07 10:23:31 /bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh /entrypoint.sh # backwards compat
14.19KB 2022-12-07 10:23:30 /bin/sh -c #(nop) COPY file:e9c22353a1133b89c5bca24ecacd348acd094e50e5e5c45375a997c6b1f07192 in /usr/local/bin/
0.00B 2022-12-07 10:23:30 /bin/sh -c #(nop) VOLUME [/var/lib/mysql]
237.48MB 2022-12-07 10:23:29 /bin/sh -c set -eux; microdnf install -y "mysql-shell-$MYSQL_SHELL_VERSION"; microdnf clean all; mysqlsh --version
0.00B 2022-12-07 10:22:54 /bin/sh -c #(nop) ENV MYSQL_SHELL_VERSION=8.0.31-1.el8
215.00B 2022-12-07 10:22:54 /bin/sh -c set -eu; . /etc/os-release; { echo '[mysql-tools-community]'; echo 'name=MySQL Tools Community'; echo "baseurl=https://repo.mysql.com/yum/mysql-tools-community/el/${VERSION_ID%%[.-]*}/\$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
178.22MB 2022-12-07 10:22:53 /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
225.00B 2022-12-07 10:22:23 /bin/sh -c set -eu; . /etc/os-release; { echo '[mysql8.0-server-minimal]'; echo 'name=MySQL 8.0 Server Minimal'; echo 'enabled=1'; echo "baseurl=https://repo.mysql.com/yum/mysql-8.0-community/docker/el/${VERSION_ID%%[.-]*}/\$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
0.00B 2022-12-07 10:22:23 /bin/sh -c #(nop) ENV MYSQL_VERSION=8.0.31-1.el8
0.00B 2022-12-07 10:22:23 /bin/sh -c #(nop) ENV MYSQL_MAJOR=8.0
3.17KB 2022-12-07 10:22:22 /bin/sh -c set -eux; key='859BE8D7C586F538430B19C2467B942D3A79BD29'; 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"
13.59MB 2022-12-07 10:22:21 /bin/sh -c set -eux; microdnf install -y bzip2 gzip openssl xz zstd findutils ; microdnf clean all
2.29MB 2022-12-07 10:21:58 /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
0.00B 2022-12-07 10:21:55 /bin/sh -c #(nop) ENV GOSU_VERSION=1.14
2.77KB 2022-12-07 10:21:54 /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
0.00B 2022-12-07 09:51:27 /bin/sh -c #(nop) CMD ["/bin/bash"]
106.40MB 2022-12-07 09:51:27 /bin/sh -c #(nop) ADD file:04d9ae26c2acac414b69a784563f765d531aeaf941ea0341025b4544f9ade244 in /

镜像信息

{
    "Id": "sha256:7484689f290f1defe06b65befc54cb6ad91a667cf0af59a265ffe76c46bd0478",
    "RepoTags": [
        "mysql:8.0.31",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mysql:8.0.31"
    ],
    "RepoDigests": [
        "mysql@sha256:3d7ae561cf6095f6aca8eb7830e1d14734227b1fb4748092f2be2cfbccf7d614",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mysql@sha256:cfddf275c8b1ae1583c0f6afb4899d4dbe14111a6462699559a1f4dc8f4d5f6e"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2022-12-07T02:23:31.34588089Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "20.10.12",
    "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.14",
            "MYSQL_MAJOR=8.0",
            "MYSQL_VERSION=8.0.31-1.el8",
            "MYSQL_SHELL_VERSION=8.0.31-1.el8"
        ],
        "Cmd": [
            "mysqld"
        ],
        "Image": "sha256:38354afaf9d5d657e0608e62e7ad59f6b8746d3d6c1776c956f250034041626a",
        "Volumes": {
            "/var/lib/mysql": {}
        },
        "WorkingDir": "",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 538012982,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/59855c7245f3ca092f912ed6b7f8d5642ba0ec204cf78f22ad7dd3d96d799f1a/diff:/var/lib/docker/overlay2/8b8fcb79727b9fb54216cf4ad0fb352ee956d745e27ff470a214e2e7ab0e89ed/diff:/var/lib/docker/overlay2/4dc470aaec0b1cd743e32c38d70dd76e3a4c8bed82ede2641e5320aa99c1cc16/diff:/var/lib/docker/overlay2/cc4f6759488f870d1a4df5574f26d070862ff09050eddc04d4dc32439a3c5321/diff:/var/lib/docker/overlay2/1750bfc001fc5cc46029eb585c953169b837e07d4e52b86b91e8384a301be05a/diff:/var/lib/docker/overlay2/f2fedecaea3320c3a32bdbcc4ef442af1257f799e18ddb1d42aa9d40b8acb52b/diff:/var/lib/docker/overlay2/078f4a1288684e1d983adc33ce505f80626eae91539a6e4a30c53249516cffd4/diff:/var/lib/docker/overlay2/3ffb421799c4e591ee1c305d37a0327333903ebdeb170827840a37965b9ce77f/diff:/var/lib/docker/overlay2/6ce55a5a7e5d32edabb078c1ceab338b23ae9ba7df5df4fd665d836884fb8bcb/diff:/var/lib/docker/overlay2/e97e3d0f1fce932a5f12cef2527066195996974ea46e3c31ec077fb9df8447de/diff",
            "MergedDir": "/var/lib/docker/overlay2/1365269a1d96acc8f5e6eb45a7952b9cf5254070ff6c3c76401c8a0c8af5d429/merged",
            "UpperDir": "/var/lib/docker/overlay2/1365269a1d96acc8f5e6eb45a7952b9cf5254070ff6c3c76401c8a0c8af5d429/diff",
            "WorkDir": "/var/lib/docker/overlay2/1365269a1d96acc8f5e6eb45a7952b9cf5254070ff6c3c76401c8a0c8af5d429/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:d3cc7b6aa7bc15725c1a856ce06fe436da3fbccf0c9c06b04e45f79b3439c154",
            "sha256:a7f421510691bf6a7b344d1efb738b3d343e252e7dde114a0dd86d432ef6000c",
            "sha256:6ac2db160c6cf3dcf1aff0ced069aa98da28c50cff5cd3c8881c04f42e3ef1fe",
            "sha256:7fe65049a2a940ab927d3f5b2cf0687ecffbdf9d7e9df1daaeddb83bc601f3cb",
            "sha256:da1824686db37bbf1ffbffea53295aa853731531a14e70bca24eeb6d91fd6327",
            "sha256:d410d4efd0e75456011f265fa113b206dd4da9dccf5151bca714ef6c69a3b8cd",
            "sha256:60c4dab21dc337e912d518acc56e5b776e3de4f1d277d074831bb678089b87a6",
            "sha256:d00057f8969283fed84044f6103036e18a9d776579d705a85472535ba321df25",
            "sha256:2f42ce9d7b80a286af13410c0b64e94c90eca3e7597f7fd82a783aa1f68c2373",
            "sha256:8408fed6a9d685236cb024ceea39692743b6c52ea6c4c068b22a6475f742e24a",
            "sha256:336175ddf157a8f50c0aae8c0726b1462fd41f30f0b7f84caf6bf5cd02f8de77"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-08-30T10:54:33.532952932+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
343

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