docker.io/mysql:8.0-oracle linux/amd64

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

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2024-07-23 06:26:32  0.00B 设置默认要执行的命令
CMD ["mysqld"]
                        
# 2024-07-23 06:26:32  0.00B 声明容器运行时监听的端口
EXPOSE map[3306/tcp:{} 33060/tcp:{}]
                        
# 2024-07-23 06:26:32  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["docker-entrypoint.sh"]
                        
# 2024-07-23 06:26:32  34.00B 执行命令并创建新的镜像层
RUN /bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh /entrypoint.sh # backwards compat # buildkit
                        
# 2024-07-23 06:26:32  13.83KB 复制新文件或目录到容器中
COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
                        
# 2024-07-23 06:26:32  0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/var/lib/mysql]
                        
# 2024-07-23 06:26:32  295.33MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 	microdnf install -y "mysql-shell-$MYSQL_SHELL_VERSION"; 	microdnf clean all; 		mysqlsh --version # buildkit
                        
# 2024-07-23 06:26:32  0.00B 设置环境变量 MYSQL_SHELL_VERSION
ENV MYSQL_SHELL_VERSION=8.0.38-1.el9
                        
# 2024-07-23 06:26:32  215.00B 执行命令并创建新的镜像层
RUN /bin/sh -c set -eu; 	{ 		echo '[mysql-tools-community]'; 		echo 'name=MySQL Tools Community'; 		echo 'baseurl=https://repo.mysql.com/yum/mysql-tools-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
                        
# 2024-07-23 06:26:32  145.65MB 执行命令并创建新的镜像层
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
                        
# 2024-07-23 06:26:32  225.00B 执行命令并创建新的镜像层
RUN /bin/sh -c set -eu; 	{ 		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/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
                        
# 2024-07-23 06:26:32  0.00B 设置环境变量 MYSQL_VERSION
ENV MYSQL_VERSION=8.0.39-1.el9
                        
# 2024-07-23 06:26:32  0.00B 设置环境变量 MYSQL_MAJOR
ENV MYSQL_MAJOR=8.0
                        
# 2024-07-23 06:26:32  3.17KB 执行命令并创建新的镜像层
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
                        
# 2024-07-23 06:26:32  16.55MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 	microdnf install -y 		bzip2 		gzip 		openssl 		xz 		zstd 		findutils 	; 	microdnf clean all # buildkit
                        
# 2024-07-23 06:26:32  2.36MB 执行命令并创建新的镜像层
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
                        
# 2024-07-23 06:26:32  0.00B 设置环境变量 GOSU_VERSION
ENV GOSU_VERSION=1.17
                        
# 2024-07-23 06:26:32  2.77KB 执行命令并创建新的镜像层
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
                        
# 2024-07-23 06:26:32  0.00B 设置默认要执行的命令
CMD ["/bin/bash"]
                        
# 2024-07-23 06:26:32  112.67MB 复制文件或目录到容器中
ADD oraclelinux-9-slim-amd64-rootfs.tar.xz / # buildkit
                        
                    

镜像信息

{
    "Id": "sha256:307199bdf3e26b54859050dccc6e8e7f9d12e120ad632061c01f2a28541eaaf6",
    "RepoTags": [
        "mysql:8.0-oracle",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mysql:8.0-oracle"
    ],
    "RepoDigests": [
        "mysql@sha256:59ffecdae8d42a45fb9429d81524273e0e237f82f8335234bc4c65dfa3588975",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mysql@sha256:fdfd31eab5602daf89ba59b479a3b7f83c100282bcc9225b240543afcf8bd63b"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-07-22T22:26:32Z",
    "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.0",
            "MYSQL_VERSION=8.0.39-1.el9",
            "MYSQL_SHELL_VERSION=8.0.38-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": 572574705,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/9b52a590074b7d0c4d18ba7c0027bc9464191ed3852e2efa134e5adde848d0bf/diff:/var/lib/docker/overlay2/deef0dc05b8207badd36162e9995d99a3f2134286432c2e66919d83e4a4a5938/diff:/var/lib/docker/overlay2/fcf85189c2cca5d57027285faefb6509f210964db7fb824e1e0860b0ac7b73ee/diff:/var/lib/docker/overlay2/edec8c088c3671332fea7aaa9b3dfc9eafbbc06cb0bd1a3945e10dbc46abcf49/diff:/var/lib/docker/overlay2/efca13e1c40e22e0483cc05d8abc9a1867d3d287eafc2dfa60e5d3d8d67e07cb/diff:/var/lib/docker/overlay2/cc79c1b628f3f452c6d11acc75292fde3046e1fceac339d5ab5443640ab36c2b/diff:/var/lib/docker/overlay2/a7657762110f5401b05df313556962e1065b68e0980b2b248e025b39e52ea018/diff:/var/lib/docker/overlay2/d44290c649ecf9b7aec47d2686f82bcd855f754fc21a3a667c9b269d5577e84c/diff:/var/lib/docker/overlay2/56303be6941fac10ba008a82d9bd0646a0bb6b391d2162de95954b463e828450/diff:/var/lib/docker/overlay2/59c13a5e6d268528df3f52e337a6f37975140f3193bed9be92e67b18d2c63cbf/diff",
            "MergedDir": "/var/lib/docker/overlay2/4b0b55ea26e2ac1a1a8e81f7a0c35c5645872f643d0f8e10512ad3a8bcb71a8e/merged",
            "UpperDir": "/var/lib/docker/overlay2/4b0b55ea26e2ac1a1a8e81f7a0c35c5645872f643d0f8e10512ad3a8bcb71a8e/diff",
            "WorkDir": "/var/lib/docker/overlay2/4b0b55ea26e2ac1a1a8e81f7a0c35c5645872f643d0f8e10512ad3a8bcb71a8e/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:2376e38930524b07a542ce1b190deec5541a545a6e73ff523fcdfa67dbede04c",
            "sha256:222f425494998593e0dfc4909ee3bbb031ee45956c94dfb90004e378d1b81269",
            "sha256:c645281fc1ebd57a0397d8b10e5e060fa1090de66afeeb515926766339f580ae",
            "sha256:97424b433141c0e5ce2e66c42b3fe3c9233f1cb1d0cfeb5113de87bc75b399c9",
            "sha256:bce8682324eabbebac3b5cbff14fcfb56028bf6e6f1974f2e104a33df559747d",
            "sha256:b52101fb0a98365513048809acb54596eba973c946f39b6cafeb757b2af1f7d7",
            "sha256:cc543796ab54246811be9fc453beb5e5b6a0f8958dd957d5dfe0f28e933bb473",
            "sha256:029de7932a7f129d4306ac76d1924f1ed4ec51f8a422c05eec5c5cfa9445aa15",
            "sha256:861d4503c7bfc87f9f9c09d8c33eade232c084f202554d005e4a4be52645e197",
            "sha256:d93d3dad5e89d660ca65134703ecc99994b03134bc25a963f58a6f3b8c108d8d",
            "sha256:b39058a2da28b7f6a0ae10be78d338f72e8d31b0bd6f80f9e3b0e231524be601"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-09-19T09:45:51.747568617+08:00"
    }
}

更多版本

docker.io/mysql:5.7.44

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

docker.io/mysql:8.4.0

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

docker.io/mysql:8.0

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

docker.io/mysql:8.0-debian

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

docker.io/mysql:5.7

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

docker.io/mysql:8.0.37

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

docker.io/mysql:5.7.13

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

docker.io/mysql:8.0.35

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

docker.io/mysql:5.7.33

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

docker.io/mysql:8.0.38

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

docker.io/mysql:9.0.0

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

docker.io/mysql:5.7.40

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

docker.io/mysql:8.4.1

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

docker.io/mysql:8.3

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

docker.io/mysql:8.4.2

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

docker.io/mysql:8.2.0

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

docker.io/mysql:5.7.18

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

docker.io/mysql:8.0.16

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

docker.io/mysql:8.2

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

docker.io/mysql:8.0.39

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

docker.io/mysql:8.0.39

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

docker.io/mysql:9.0.1

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

docker.io/mysql:8.0.27

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

docker.io/mysql:8.0.31

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

docker.io/mysql:8.1.0

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

docker.io/mysql:8.0.36

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

docker.io/mysql:5.7.35

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

docker.io/mysql:8.0-oracle

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

docker.io/mysql:8.0.26

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

docker.io/mysql:8.0.32

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

docker.io/mysql:8.0.35

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

docker.io/mysql:5.6.48

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

docker.io/mysql:8.0.28

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

docker.io/mysql:5.7.32

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

docker.io/mysql:8.0.32

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

docker.io/mysql:8.4.3

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

docker.io/mysql:5.7.31

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

docker.io/mysql:8.0.3

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

docker.io/mysql:5.7.26

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

docker.io/mysql:5.7.42

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

docker.io/mysql:5.7.37

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

docker.io/mysql:8.0.33

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

docker.io/mysql/mysql-server:8.0.32

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

docker.io/mysql:8.0.37-oraclelinux9

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

docker.io/mysql:8.0.33-debian

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

docker.io/mysql:8.0.30

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

docker.io/mysql:8.0.40-debian

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

docker.io/mysql:5.7.30

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

docker.io/mysql:8.4.0-oraclelinux8

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

docker.io/mysql/mysql-router:latest

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

docker.io/mysql/mysql-router:8.0.32

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

docker.io/mysql:8

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

docker.io/mysql:8.0.29

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

docker.io/mysql:8.0.37

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

docker.io/mysql/mysql-server:8.0

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

docker.io/mysql:8.0.40

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