1、docker安装
1.1、yum安装(docker的安装和依赖包在默认软件源里有,可以理解阿里云镜像源也有docker相关软件包)
yum -y install docker
systemctl start docker
systemctl enabled docker
1.2、官方脚本安装(https://get.docker.com/)
curl -fsSL https://get.docker.com/ | sh
systemctl start docker
-----默认下载源是docker官方境外源,下载速度较慢,使用阿里云镜像源下载
curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh --mirror=Aliyun
标签:get,sh,systemctl,https,docker,随笔,com From: https://www.cnblogs.com/SanRiYue/p/17118053.html