docker.io/mysql:5.6.51 linux/amd64

docker.io/mysql:5.6.51 - 国内下载镜像源 浏览次数:14 安全受验证的发布者-Mysql
MySQL是一种广泛使用的开源关系型数据库管理系统(RDBMS),由瑞典公司MySQL AB开发,后被Sun Microsystems收购,现在归Oracle公司所有。MySQL以其高性能、高可靠性和易用性著称,支持SQL(Structured Query Language)语言,用于管理和处理结构化的数据集。
源镜像 docker.io/mysql:5.6.51
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mysql:5.6.51
镜像ID sha256:dd3b2a5dcb48ff61113592ed5ddd762581be4387c7bc552375a2159422aa6bf5
镜像TAG 5.6.51
大小 302.53MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD mysqld
启动入口 docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 14 次
贡献者
镜像创建 2021-12-21T02:57:59.587337844Z
同步时间 2025-04-03 15:58
更新时间 2025-04-04 21:36
开放端口
3306/tcp
目录挂载
/var/lib/mysql
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GOSU_VERSION=1.12 MYSQL_MAJOR=5.6 MYSQL_VERSION=5.6.51-1debian9

Docker拉取命令

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2021-12-21 10:57:59  0.00B 
/bin/sh -c #(nop)  CMD ["mysqld"]
                        
# 2021-12-21 10:57:59  0.00B 
/bin/sh -c #(nop)  EXPOSE 3306
                        
# 2021-12-21 10:57:59  0.00B 
/bin/sh -c #(nop)  ENTRYPOINT ["docker-entrypoint.sh"]
                        
# 2021-12-21 10:57:58  34.00B 
/bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh /entrypoint.sh # backwards compat
                        
# 2021-12-21 10:57:57  14.54KB 
/bin/sh -c #(nop) COPY file:345a22fe55d3e6783a17075612415413487e7dba27fbf1000a67c7870364b739 in /usr/local/bin/ 
                        
# 2021-12-21 10:57:57  0.00B 
/bin/sh -c #(nop)  VOLUME [/var/lib/mysql]
                        
# 2021-12-21 10:57:56  192.42MB 
/bin/sh -c { 		echo mysql-community-server mysql-community-server/data-dir select ''; 		echo mysql-community-server mysql-community-server/root-pass password ''; 		echo mysql-community-server mysql-community-server/re-root-pass password ''; 		echo mysql-community-server mysql-community-server/remove-test-db select false; 	} | debconf-set-selections 	&& apt-get update 	&& apt-get install -y 		mysql-server="${MYSQL_VERSION}" 	&& find /etc/mysql/ -name '*.cnf' -print0 		| xargs -0 grep -lZE '^(bind-address|log)' 		| xargs -rt -0 sed -Ei 's/^(bind-address|log)/#&/' 	&& echo '[mysqld]\nskip-host-cache\nskip-name-resolve' > /etc/mysql/conf.d/docker.cnf 	&& rm -rf /var/lib/apt/lists/* 	&& rm -rf /var/lib/mysql && mkdir -p /var/lib/mysql /var/run/mysqld 	&& chown -R mysql:mysql /var/lib/mysql /var/run/mysqld 	&& chmod 1777 /var/run/mysqld /var/lib/mysql
                        
# 2021-12-21 10:57:39  56.00B 
/bin/sh -c echo 'deb http://repo.mysql.com/apt/debian/ stretch mysql-5.6' > /etc/apt/sources.list.d/mysql.list
                        
# 2021-12-21 10:57:38  0.00B 
/bin/sh -c #(nop)  ENV MYSQL_VERSION=5.6.51-1debian9
                        
# 2021-12-21 10:57:37  0.00B 
/bin/sh -c #(nop)  ENV MYSQL_MAJOR=5.6
                        
# 2021-12-21 10:57:37  22.14KB 
/bin/sh -c set -ex; 	key='A4A9406876FCBD3C456770C88C718D3B5072E1F5'; 	export GNUPGHOME="$(mktemp -d)"; 	gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; 	gpg --batch --export "$key" > /etc/apt/trusted.gpg.d/mysql.gpg; 	gpgconf --kill all; 	rm -rf "$GNUPGHOME"; 	apt-key list > /dev/null
                        
# 2021-12-21 10:57:25  40.01MB 
/bin/sh -c apt-get update && apt-get install -y --no-install-recommends 		pwgen 		perl 		xz-utils 	&& rm -rf /var/lib/apt/lists/*
                        
# 2021-12-21 10:57:19  0.00B 
/bin/sh -c mkdir /docker-entrypoint-initdb.d
                        
# 2021-12-21 10:57:18  4.15MB 
/bin/sh -c set -eux; 	savedAptMark="$(apt-mark showmanual)"; 	apt-get update; 	apt-get install -y --no-install-recommends ca-certificates wget; 	rm -rf /var/lib/apt/lists/*; 	dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; 	wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; 	wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; 	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; 	gpgconf --kill all; 	rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; 	apt-mark auto '.*' > /dev/null; 	[ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; 	apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; 	chmod +x /usr/local/bin/gosu; 	gosu --version; 	gosu nobody true
                        
# 2021-12-21 10:57:05  0.00B 
/bin/sh -c #(nop)  ENV GOSU_VERSION=1.12
                        
# 2021-12-21 10:57:05  10.24MB 
/bin/sh -c apt-get update && apt-get install -y --no-install-recommends gnupg dirmngr && rm -rf /var/lib/apt/lists/*
                        
# 2021-12-21 10:56:59  328.55KB 
/bin/sh -c groupadd -r mysql && useradd -r -g mysql mysql
                        
# 2021-12-21 09:24:42  0.00B 
/bin/sh -c #(nop)  CMD ["bash"]
                        
# 2021-12-21 09:24:41  55.34MB 
/bin/sh -c #(nop) ADD file:b1650c19c1dd1f4cff71553f2bb0bc949944d0bc24b54c318b2880c14538648a in / 
                        
                    

镜像信息

{
    "Id": "sha256:dd3b2a5dcb48ff61113592ed5ddd762581be4387c7bc552375a2159422aa6bf5",
    "RepoTags": [
        "mysql:5.6.51",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mysql:5.6.51"
    ],
    "RepoDigests": [
        "mysql@sha256:20575ecebe6216036d25dab5903808211f1e9ba63dc7825ac20cb975e34cfcae",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mysql@sha256:897086d07d1efa876224b147397ea8d3147e61dd84dce963aace1d5e9dc2802d"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2021-12-21T02:57:59.587337844Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "20.10.7",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "3306/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "GOSU_VERSION=1.12",
            "MYSQL_MAJOR=5.6",
            "MYSQL_VERSION=5.6.51-1debian9"
        ],
        "Cmd": [
            "mysqld"
        ],
        "Image": "sha256:edea0b6584f10b9abdec2a2cbac57e5773907cbc82bc22cdea8b5130c78d0f5d",
        "Volumes": {
            "/var/lib/mysql": {}
        },
        "WorkingDir": "",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 302527523,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/c320b786e39e6d5eec3ffcb0d5c753d6284d88a2cc3d7bf74f2f4b6b0bbe67dd/diff:/var/lib/docker/overlay2/8055111de8eb8a006ac83d0469587bf17333a51c2e1a3ed71cb3a629e7b59d1a/diff:/var/lib/docker/overlay2/808fb7cab158a664cfc483cf3e45860197ab69b9b00b0105f1b6fd6015faeb05/diff:/var/lib/docker/overlay2/bb2af1cf80ba7bbb90a3777cafc51e66a7a1f3480be4b347d07e2159db81111f/diff:/var/lib/docker/overlay2/2dc1f6693f827a9cb54b66063d6bfedf0e51ffb9d90c1fec3ac58485e9c2518e/diff:/var/lib/docker/overlay2/53616265409b53248e2a27e941e1fea848ab49e897634180d21eb8dc04ba7b9b/diff:/var/lib/docker/overlay2/74dcaa2e36a06c60019cc945668c9146e743baf348303dfe8b12ec61e37c4cbb/diff:/var/lib/docker/overlay2/466e1adee27c5f6b6ce857d128ba7e64375c59ca9e297e7a2faf8af725e3cf94/diff:/var/lib/docker/overlay2/8b81c725c4a2828f01c0859a628d24747ee8b1d5c984140b33c4c03b5c9a28bd/diff:/var/lib/docker/overlay2/888a7566fc5f14d88bf7c0356c6f12406343d1247083ceea8b81ac683921f065/diff",
            "MergedDir": "/var/lib/docker/overlay2/bd064ef72eff3139b824cc4987639fc100b457b4f7078bcacd87196791a12540/merged",
            "UpperDir": "/var/lib/docker/overlay2/bd064ef72eff3139b824cc4987639fc100b457b4f7078bcacd87196791a12540/diff",
            "WorkDir": "/var/lib/docker/overlay2/bd064ef72eff3139b824cc4987639fc100b457b4f7078bcacd87196791a12540/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:2b83e5699838047f936a3875bcce7fe1b169983bf86785ae7519c5bc488558ae",
            "sha256:2e10295573911964a8acc37c738aed958d0bc385bc51df6f184b196fb592c975",
            "sha256:d414fdead0b9c934781e5611c016d7c237062c9470db810ef28b321a492dbb9c",
            "sha256:4085e588967d10dafb76ad52f66f661b41b9008cc16568ce02853de7cbbf7433",
            "sha256:7ea96a4e341b4d139f5e076e71d19229537292226c3b24ec2d588567667a1191",
            "sha256:e3dce1c82d4e4142e8e1bf2fb9c6fd2555196d40088167270ff95c9af37b88af",
            "sha256:2612088e90f60ecb4a13e68adbfb2b1366f82fc8fbf1f0970f8769cf3cd753ee",
            "sha256:eba393347f896c4028340bf1a40cc5d6b8f21eeb7abf3e79799d842a6babb93f",
            "sha256:7c5a5c1986b16b0d8ad4eaa8066627910ec7794a657467e8f18d223f1c0034fd",
            "sha256:49a1ca1cd2b80f84d6616df2b5123458f4bcb065bca28c43d9c3fd5a0480b907",
            "sha256:7137327a7221ddb123883146beb68003ee31d652ec46ab8bea3ba12c2df8df8f"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-04-03T15:58:30.94258088+08:00"
    }
}

更多版本

docker.io/mysql:5.7.44

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

docker.io/mysql:8.4.0

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

docker.io/mysql:8.0

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

docker.io/mysql:8.0-debian

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

docker.io/mysql:5.7

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

docker.io/mysql:8.0.37

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

docker.io/mysql:5.7.13

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

docker.io/mysql:8.0.35

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

docker.io/mysql:5.7.33

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

docker.io/mysql:8.0.38

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

docker.io/mysql:9.0.0

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

docker.io/mysql:5.7.40

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

docker.io/mysql:8.4.1

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

docker.io/mysql:8.3

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

docker.io/mysql:8.4.2

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

docker.io/mysql:8.2.0

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

docker.io/mysql:5.7.18

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

docker.io/mysql:8.0.16

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

docker.io/mysql:8.2

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

docker.io/mysql:8.0.39

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

docker.io/mysql:8.0.39

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

docker.io/mysql:9.0.1

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

docker.io/mysql:8.0.27

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

docker.io/mysql:8.0.31

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

docker.io/mysql:8.1.0

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

docker.io/mysql:8.0.36

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

docker.io/mysql:5.7.35

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

docker.io/mysql:8.0-oracle

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

docker.io/mysql:8.0.26

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

docker.io/mysql:8.0.32

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

docker.io/mysql:8.0.35

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

docker.io/mysql:5.6.48

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

docker.io/mysql:8.0.28

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

docker.io/mysql:5.7.32

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

docker.io/mysql:8.0.32

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

docker.io/mysql:8.4.3

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

docker.io/mysql:5.7.31

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

docker.io/mysql:8.0.3

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

docker.io/mysql:5.7.26

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

docker.io/mysql:5.7.42

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

docker.io/mysql:5.7.37

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

docker.io/mysql:8.0.33

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

docker.io/mysql/mysql-server:8.0.32

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

docker.io/mysql:8.0.37-oraclelinux9

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

docker.io/mysql:8.0.33-debian

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

docker.io/mysql:8.0.30

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

docker.io/mysql:8.0.40-debian

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

docker.io/mysql:5.7.30

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

docker.io/mysql:8.4.0-oraclelinux8

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

docker.io/mysql/mysql-router:latest

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

docker.io/mysql/mysql-router:8.0.32

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

docker.io/mysql:8

linux/amd64 docker.io594.20MB2024-12-17 15:29
119

docker.io/mysql:8.0.29

linux/arm64 docker.io481.93MB2024-12-20 16:04
164

docker.io/mysql:8.0.37

linux/arm64 docker.io585.03MB2025-01-07 16:59
154

docker.io/mysql/mysql-server:8.0

linux/amd64 docker.io495.92MB2025-01-14 14:17
202

docker.io/mysql:8.0.40

linux/amd64 docker.io591.34MB2025-01-14 22:13
323

docker.io/mysql:9.2.0

linux/amd64 docker.io797.02MB2025-02-11 13:53
212

docker.io/mysql:8.4.4

linux/amd64 docker.io769.25MB2025-02-11 15:50
333

docker.io/mysql:9.1

linux/amd64 docker.io603.38MB2025-02-19 15:52
112

docker.io/mysql:8.0.25

linux/amd64 docker.io555.72MB2025-02-20 13:37
109

docker.io/mysql:8.0.41

linux/amd64 docker.io764.37MB2025-02-24 20:54
252

docker.io/mysql:8.4

linux/amd64 docker.io769.17MB2025-03-01 13:44
92

docker.io/mysql:latest

linux/amd64 docker.io796.96MB2025-03-18 15:06
113

docker.io/mysql:9.1.0

linux/amd64 docker.io603.38MB2025-03-19 17:58
54

docker.io/mysql:5.6.51

linux/amd64 docker.io302.53MB2025-04-03 15:58
13