docker踩坑

1.docker安装elasticsearch的时候报错Error response from daemon: Get https://registry-1.docker.io/v2/

  原因:没有连接到可用仓库导致,修改hosts文件即可

  参考博文:https://segmentfault.com/a/1190000016083023?utm_source=tag-newest

posted @ 2021-03-17 10:08  红嘴鲤鱼  阅读(64)  评论(0编辑  收藏  举报