docker.io/mysql:5.7.40 linux/amd64

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

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2022-12-07 10:24:55 /bin/sh -c #(nop) CMD ["mysqld"]
0.00B 2022-12-07 10:24:55 /bin/sh -c #(nop) EXPOSE 3306 33060
0.00B 2022-12-07 10:24:55 /bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
34.00B 2022-12-07 10:24:55 /bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh /entrypoint.sh # backwards compat
14.19KB 2022-12-07 10:24:54 /bin/sh -c #(nop) COPY file:e9c22353a1133b89c5bca24ecacd348acd094e50e5e5c45375a997c6b1f07192 in /usr/local/bin/
0.00B 2022-12-07 10:24:54 /bin/sh -c #(nop) VOLUME [/var/lib/mysql]
264.38MB 2022-12-07 10:24:53 /bin/sh -c set -eux; yum install -y --setopt=skip_missing_names_on_install=False "mysql-shell-$MYSQL_SHELL_VERSION"; yum clean all; mysqlsh --version
0.00B 2022-12-07 10:24:30 /bin/sh -c #(nop) ENV MYSQL_SHELL_VERSION=8.0.31-1.el7
215.00B 2022-12-07 10:24:30 /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
79.26MB 2022-12-07 10:24:29 /bin/sh -c set -eux; yum install -y --setopt=skip_missing_names_on_install=False "mysql-community-server-minimal-$MYSQL_VERSION"; yum 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; { echo '!includedir /etc/mysql/mysql.conf.d/'; } >> /etc/my.cnf; mkdir -p /etc/mysql/mysql.conf.d; find /etc/my.cnf /etc/mysql/ -name '*.cnf' -print0 | xargs -0 grep -lZE '^(bind-address|log)' | xargs -rt -0 sed -Ei 's/^(bind-address|log)/#&/'; 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:24:11 /bin/sh -c set -eu; . /etc/os-release; { echo '[mysql5.7-server-minimal]'; echo 'name=MySQL 5.7 Server Minimal'; echo 'enabled=1'; echo "baseurl=https://repo.mysql.com/yum/mysql-5.7-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:24:10 /bin/sh -c #(nop) ENV MYSQL_VERSION=5.7.40-1.el7
0.00B 2022-12-07 10:24:10 /bin/sh -c #(nop) ENV MYSQL_MAJOR=5.7
3.21KB 2022-12-07 10:24:10 /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.61MB 2022-12-07 10:24:09 /bin/sh -c set -eux; yum install -y --setopt=skip_missing_names_on_install=False oracle-epel-release-el7; yum install -y --setopt=skip_missing_names_on_install=False bzip2 gzip openssl xz zstd ; yum clean all
2.31MB 2022-12-07 10:23:52 /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:23:50 /bin/sh -c #(nop) ENV GOSU_VERSION=1.14
2.72KB 2022-12-07 10:23:50 /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:56 /bin/sh -c #(nop) CMD ["/bin/bash"]
135.11MB 2022-12-07 09:51:56 /bin/sh -c #(nop) ADD file:3853624d773c4bf6fc1464ca06bd07366109fab78072fcab59075073a5da6525 in /

镜像信息

{
    "Id": "sha256:d410f4167eea912908b2f9bcc24eff870cb3c131dfb755088b79a4188bfeb40f",
    "RepoTags": [
        "mysql:5.7.40",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mysql:5.7.40"
    ],
    "RepoDigests": [
        "mysql@sha256:6306f106a056e24b3a2582a59a4c84cd199907f826eff27df36406f227cd9a7d",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mysql@sha256:bd0fb5a175fc225ce9c2c4357c0f532bda1413e0b8555a157770f92daa5a89e0"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2022-12-07T02:24:55.782479152Z",
    "Container": "9aca5908962904ce8523ec4abde0ac2b18936abad3019c594b54c98696dbfa6f",
    "ContainerConfig": {
        "Hostname": "9aca59089629",
        "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=5.7",
            "MYSQL_VERSION=5.7.40-1.el7",
            "MYSQL_SHELL_VERSION=8.0.31-1.el7"
        ],
        "Cmd": [
            "/bin/sh",
            "-c",
            "#(nop) ",
            "CMD [\"mysqld\"]"
        ],
        "Image": "sha256:36cf2dea2ffa41f8cb014fec2e5376e35cea414ef8ed9cef495c1b5fc0625bc1",
        "Volumes": {
            "/var/lib/mysql": {}
        },
        "WorkingDir": "",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": {}
    },
    "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=5.7",
            "MYSQL_VERSION=5.7.40-1.el7",
            "MYSQL_SHELL_VERSION=8.0.31-1.el7"
        ],
        "Cmd": [
            "mysqld"
        ],
        "Image": "sha256:36cf2dea2ffa41f8cb014fec2e5376e35cea414ef8ed9cef495c1b5fc0625bc1",
        "Volumes": {
            "/var/lib/mysql": {}
        },
        "WorkingDir": "",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 494689832,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/c576b35b3554e3130c1314571668fa13827f2a41551556486ad485b053ceedf7/diff:/var/lib/docker/overlay2/cefc6c2431ba9266b999b6c700aa2e38979c9b23c67e8f67f41ba2bea2ac8b60/diff:/var/lib/docker/overlay2/1365291560f05a2152ddabc42ca66d23bc9235b46b3a30f84652cb3194d20602/diff:/var/lib/docker/overlay2/4f4104bea84712cc9a439388037fc1644f7ec2ccd674849d85fe53504e79c27c/diff:/var/lib/docker/overlay2/0c2acf199f5dee6559506ac1374af80256fd13815149bbbea1499d76a064a121/diff:/var/lib/docker/overlay2/ac97d31ed66a74899a2c021d188ae62f2c64e45c6a2700b6e21c48255875d214/diff:/var/lib/docker/overlay2/8237017143cd838c451fffc29409f4a60d478deb4014a42d95dc595bdf43d582/diff:/var/lib/docker/overlay2/e91eed7828438365158a96c35e962e0cd0eedf2216862209d604f39c505ce6a1/diff:/var/lib/docker/overlay2/346c90c41ebd16a7cbda1892fda8906081fe4e436e4cda2d3a3ebe37d1e9aaf1/diff:/var/lib/docker/overlay2/9ba36aab12aa856fd31be0c48171123b3c2101942f8d37b51d0c17e3b59123e6/diff",
            "MergedDir": "/var/lib/docker/overlay2/9f7c807419453f7b78b6bbae6fca2b30313a9172bbdf9c7b0076a31ccfc3abc7/merged",
            "UpperDir": "/var/lib/docker/overlay2/9f7c807419453f7b78b6bbae6fca2b30313a9172bbdf9c7b0076a31ccfc3abc7/diff",
            "WorkDir": "/var/lib/docker/overlay2/9f7c807419453f7b78b6bbae6fca2b30313a9172bbdf9c7b0076a31ccfc3abc7/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:62d9c4cbe8f4b26952ebb533b5336bf7af791db2b4288df65c9a685e1f2530cd",
            "sha256:49769e21013b6fea06035a5dcdbed32ce7c17b66b8a19eab8ce626a492d4e045",
            "sha256:1a26f263a6af50cde950eb9059948fbc1ae332b27d4f248064838e8233d98781",
            "sha256:1ab9edd16f9eb635e5240ae4167f8556b742f3b95047c98d43893f2e2bffe064",
            "sha256:56a71f69f1a80e8e96b53f062f47abb507c71dd418a8cf9037dd141e45dd2b96",
            "sha256:bcef5c583f85e26cef9363add08b33c77650916957b017771d775214e26c1815",
            "sha256:7f17a5b9ec97e254664e2253c24d37734413040ec314d7d67c2c9e5e48350fbc",
            "sha256:0960c35b9a309f870a7dce9571e916804d62ea545b74bfba3de0452d216fc4f4",
            "sha256:4576381055d805cc22aba9440e1263f62feaa63241b6654d3f9dead563126483",
            "sha256:5a741d5ca23a41b2acf6becc8d10e70a37d04a0d7bd35f5ad199aed0681c2fc1",
            "sha256:5ccda2d95db81924354c959ee60831f0083cf63f732f89ee13678133cf46a678"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-07-12T05:23:44.526573065Z"
    }
}

更多版本

docker.io/mysql:5.7.44

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

docker.io/mysql:8.4.0

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

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
1490

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
239

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
605

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
664

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
274

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
252

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
196

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
169

docker.io/mysql:8.0.36

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

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
193

docker.io/mysql:8.0.35

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

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
135

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
156

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
14

docker.io/mysql/mysql-router:8.0.32

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