配置好官方源后,yum install docker-ce 一直报错https://download.docker.com/linux/centos/7/x86_64/stable/repodata/repomd.xml: [Errno 12] Timeout on https://download.docker.com/linux/centos/7/x86_64/stable/repodata/repomd.xml: (28, 'Operation timed out after 30002 milliseconds with 0 out of 0 bytes received')
Trying other mirror.
目前我的方法是通过代理访问get.docker.com 下载脚本 get-docker.sh
然后在服务器上执行$ sudo sh get-docker.sh --mirror Aliyun
脚本就会自动的将一切准备工作做好,并且把 Docker CE 的 Edge 版本安装在系统中