精华 Centos7如何安装docker
Centos7如何安装docker
1、配置Centos7阿里源(必须)
参考 http://bbs.itying.com/topic/66de4de9bb648a00d0981455
2、Centos7安装docker
yum install -y yum-utils
yum install docker-ce docker-ce-cli containerd.io -y
systemctl start docker
systemctl enable docker
systemctl status docker
3、docker daemon.json配置阿里云加速器
参考:http://bbs.itying.com/topic/66b81e262d1b0b0080aecabf
4、安装docker-compose
yum install docker-compose-plugin
docker compose version