docker mysql:8.0.29的简单安装与使用

docker mysql

🥚一、环境准备

ubuntu 22.04 LTS

docker 20.10.15

docker pull mysql:8.0.29

lyear@us:~$ lsb_release -a 
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04 LTS
Release:        22.04
Codename:       jammy
lyear@us:~$ docker version
Client: Docker Engine - Community
 Version:           20.10.15
 API version:       1.41
 Go version:        go1.17.9
 Git commit:        fd82621
 Built:             Thu May  5 13:21:10 2022
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.15
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.17.9
  Git commit:       4433bf6
  Built:            Thu May  5 13:19:15 2022
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.4
  GitCommit:        212e8b6fa2f44b9c21b2798135fc6fb7c53efc16
 runc:
  Version:          1.1.1
  GitCommit:        v1.1.1-0-g52de29d
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

🥚二、拉取 pull mysql

通过docker pull mysql:8.0.29 直接拉取MySQL指定镜像版本,等待其下载

lyear@us:~$ docker pull mysql:8.0.29  # 拉取镜像
8.0.29: Pulling from library/mysql
4be315f6562f: Downloading [=====>                                             ]  3.043MB/27.14MB
96e2eb237a1b: Downloading 
8aa3ac85066b: Downloading 
ac7e524f6c89: Downloading 
f6a88631064f: Downloading 
15bb3ec3ff50: Waiting 
ae65dc337dcb: Waiting 
573c3c7fa18d: Waiting 
9d10771b98b8: Waiting 
3d8ef442614
  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值