配置好官方源后,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 版本安裝在系統中