最近学习下docker,并且工作需要,就总结下。
1、Docker安装
a、先查看下CentOS版本

b、查看下Linux内核版本

c、执行wget -qO- https://get.docker.com/|sh 其实就是一个执行脚本来快速安装开发环境docker

d、启动sudo systemctl docker start
执行命令确保docker安装成功

e、service docker status查看docker的运行状态

f、root添加国内镜像加速

小白学docker(1)---docker安装
原文:https://www.cnblogs.com/Lee_xy_z/p/10750234.html