docker.io/mysql:8.0.37-oraclelinux9 linux/amd64

docker.io/mysql:8.0.37-oraclelinux9 - 国内下载镜像源 浏览次数:97 安全受验证的发布者-Mysql
MySQL是一种广泛使用的开源关系型数据库管理系统(RDBMS),由瑞典公司MySQL AB开发,后被Sun Microsystems收购,现在归Oracle公司所有。MySQL以其高性能、高可靠性和易用性著称,支持SQL(Structured Query Language)语言,用于管理和处理结构化的数据集。
源镜像 docker.io/mysql:8.0.37-oraclelinux9
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mysql:8.0.37-oraclelinux9
镜像ID sha256:8279f68ee77d5307715b9d4a14f48d937d98c75d847c55fb711f1fd905815f16
镜像TAG 8.0.37-oraclelinux9
大小 567.00MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD mysqld
启动入口 docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 97 次
贡献者
镜像创建 2024-06-18T16:01:15Z
同步时间 2024-11-08 21:00
更新时间 2025-01-14 22:33
开放端口
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.37-1.el9 MYSQL_SHELL_VERSION=8.0.37-1.el9
镜像安全扫描 查看Trivy扫描报告

系统OS: oracle 9.4 扫描引擎: Trivy 扫描时间: 2024-11-08 21:02

低危漏洞:2 中危漏洞:48 高危漏洞:37 严重漏洞:3

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2024-06-19 00:01:15  0.00B 设置默认要执行的命令
CMD ["mysqld"]
                        
# 2024-06-19 00:01:15  0.00B 声明容器运行时监听的端口
EXPOSE map[3306/tcp:{} 33060/tcp:{}]
                        
# 2024-06-19 00:01:15  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["docker-entrypoint.sh"]
                        
# 2024-06-19 00:01:15  34.00B 执行命令并创建新的镜像层
RUN /bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh /entrypoint.sh # backwards compat # buildkit
                        
# 2024-06-19 00:01:15  13.83KB 复制新文件或目录到容器中
COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
                        
# 2024-06-19 00:01:15  0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/var/lib/mysql]
                        
# 2024-06-19 00:01:15  290.31MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 	microdnf install -y "mysql-shell-$MYSQL_SHELL_VERSION"; 	microdnf clean all; 		mysqlsh --version # buildkit
                        
# 2024-06-19 00:01:15  0.00B 设置环境变量 MYSQL_SHELL_VERSION
ENV MYSQL_SHELL_VERSION=8.0.37-1.el9
                        
# 2024-06-19 00:01:15  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-06-19 00:01:15  145.58MB 执行命令并创建新的镜像层
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-06-19 00:01:15  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-06-19 00:01:15  0.00B 设置环境变量 MYSQL_VERSION
ENV MYSQL_VERSION=8.0.37-1.el9
                        
# 2024-06-19 00:01:15  0.00B 设置环境变量 MYSQL_MAJOR
ENV MYSQL_MAJOR=8.0
                        
# 2024-06-19 00:01:15  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-06-19 00:01:15  16.49MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 	microdnf install -y 		bzip2 		gzip 		openssl 		xz 		zstd 		findutils 	; 	microdnf clean all # buildkit
                        
# 2024-06-19 00:01:15  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-06-19 00:01:15  0.00B 设置环境变量 GOSU_VERSION
ENV GOSU_VERSION=1.17
                        
# 2024-06-19 00:01:15  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-06-19 00:01:15  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2024-06-19 00:01:15  112.25MB 
/bin/sh -c #(nop) ADD file:fb24d10eda688c8fb542e360efb59a2b1eb790f9751caa9ee895ea79b8071a8a in / 
                        
                    

镜像信息

{
    "Id": "sha256:8279f68ee77d5307715b9d4a14f48d937d98c75d847c55fb711f1fd905815f16",
    "RepoTags": [
        "mysql:8.0.37-oraclelinux9",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mysql:8.0.37-oraclelinux9"
    ],
    "RepoDigests": [
        "mysql@sha256:598bf8b783dddc9070e9011aeb1eb5947f0bf7c4eda8ac510906556b8a2b6d0a",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mysql@sha256:69d108ba080ffc282c761e39cbf33c9d959669151f283c8d3ed9a6757b4ce9d3"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-06-18T16:01:15Z",
    "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.37-1.el9",
            "MYSQL_SHELL_VERSION=8.0.37-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": 567003668,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/081d4c2cd4e5a183049bc2880cf6d82397b7ec4b284fc098075184307e0a815e/diff:/var/lib/docker/overlay2/e9d3d2e081b5473b2415bc2044c32d9e127bb9a79b8c82cb0675311cb1b52c5b/diff:/var/lib/docker/overlay2/4c28fb0ec78e945aac126505746a6cd6f14ddb1229a1cbcadf3a2a124ec69d88/diff:/var/lib/docker/overlay2/454ef8f7eb1e894e0c437ff413ae7c10a4db8ee664ceb0d607987b81c53be632/diff:/var/lib/docker/overlay2/93b5fcd36058ed4267b61b64d87a877e551b477f6fe325b954470128887a8760/diff:/var/lib/docker/overlay2/e0298557221a2ba74182e24e1895782884e91cba0f2819775e147a1c1ba4ab51/diff:/var/lib/docker/overlay2/579728cb85acc15121e42407ee33e5a0e195df257c3834a2655e964fb2c71f55/diff:/var/lib/docker/overlay2/67fde06fe8673d603dae72a898bc8848d38fa86ab67a72a00aa471e2e5ec725b/diff:/var/lib/docker/overlay2/0c6c8154470753e7b0657adec5af11e01f75fd044b593118d11e6360f16ec4a0/diff:/var/lib/docker/overlay2/f83892131400d0f4b200fd69ae84f7e65747b706343d6a1cc7d75f99cafdd0bf/diff",
            "MergedDir": "/var/lib/docker/overlay2/dd7918d7853941e1584d7eb8dbf1985d5d3c95d4a59cbe642b125c3f8097a3f3/merged",
            "UpperDir": "/var/lib/docker/overlay2/dd7918d7853941e1584d7eb8dbf1985d5d3c95d4a59cbe642b125c3f8097a3f3/diff",
            "WorkDir": "/var/lib/docker/overlay2/dd7918d7853941e1584d7eb8dbf1985d5d3c95d4a59cbe642b125c3f8097a3f3/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:85bc4f1b0c3fcba224f9e2ef60734c74d682228f91e14e402892c43ef0c7908d",
            "sha256:fbb33739288641e8a3623a69ddbfaac15b21896ec3fa83ad923c11d27d436b1b",
            "sha256:1de8860d42c9efd0dcf4a99b8ea5647c240975890f8752c8c62337ffd19ae1d8",
            "sha256:0fc655241fa95bccf46fddf1948468d186c7ab91a642e0c5e0cc7a6bc1a8af2e",
            "sha256:71df71d75666a770495165de37546867727b05e952d41723c6281f691ac8a7c2",
            "sha256:d69ad90e3e33549ef57942c688051f145efc91f3bec0f58b4bf81d8cfde4c18a",
            "sha256:1b993fefce3df064d6384eb49ae525dce19a9414c23f74a562aa05b4b5a9b78a",
            "sha256:06f09fdd4618ba6c77e484b9a106992d9e55bb7149937c015aac16abce3bb30c",
            "sha256:5ac074424236597929036875ca9a74813e481bca13635847dc403a95dc00f0a0",
            "sha256:276a9511edad53ae1986294d81621eb03564b408e20b290c45971ef43efd5adc",
            "sha256:2f227f37fcc76d1ec51133355202d664ea73ab61720cb12e9cfaa965f0c8f446"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-08T21:00:20.944237231+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
330

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
158

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