1.docker安装elasticsearch的时候报错Error response from daemon: Get https://registry-1.docker.io/v2/
原因:没有连接到可用仓库导致,修改hosts文件即可
参考博文:https://segmentfault.com/a/1190000016083023?utm_source=tag-newest