Bootstrap

【MySQL 18】Docker 安装 MySQL8 .0.30

1、查看可用的 MySQL 版本

访问 MySQL 镜像库地址:

https://hub.docker.com/_/mysql?tab=tags 。

在这里插入图片描述
在这里插入图片描述

2、拉取 MySQL 8.0.30 镜像

拉取官方的指定版本的镜像:

docker pull mysql:8.0.30
[root@localhost deploy]# docker pull mysql:8.0.30
8.0.30: Pulling from library/mysql
295ca2342728: Pull complete 
79af4312a7e0: Pull complete 
48d3d73d1704: Pull complete 
521b8724b397: Pull complete 
b8cf360b4a14: Pull complete 
0115482cc006: Pull complete 
a360b08917ea: Pull complete 
12deeb3c1323: Pull complete 
ee1dc10db1e9: Pull complete 
64be404ad29c: Pull complete 
1921fe8879a2: Pull complete
;