下载Docker Compose超时的问题(Fail connect to github-production-release-asset-2e65be.s3.amazonaws.com:443)

今天一个同事问我,他在linux上按Docker Compose官网下载报了一个错,网上找不到好的解决方法,

Fail connect to github-production-release-asset-2e65be.s3.amazonaws.com:443

然后我想是不是解析域名出了问题,然后先ping一下是否能通?

ping github-production-release-asset-2e65be.s3.amazonaws.com

结果是通的而且ping返回的ip是52.216.16.16,于是叫他在linux的/etc/hosts上添加上以下一句,问题解决 

52.216.16.16 github-production-release-asset-2e65be.s3.amazonaws.com


你可能感兴趣的:(下载Docker Compose超时的问题(Fail connect to github-production-release-asset-2e65be.s3.amazonaws.com:443))