dial tcp: lookup registry-1.docker.io: no such host

安装报错 · pengxuefneg · 于 6年前 发布 · 4706 次阅读

使用dock方式安装,运行docker-compose up -d时报错,错误如下:

[root@iZm5e177royu3956icpomgZ yii2_fecshop_docker]# docker-compose up -d Pulling xunsearch (hightman/xunsearch:latest)... latest: Pulling from hightman/xunsearch 8284e13a281d: Pull complete 26e1916a9297: Pull complete 4102fc66d4ab: Pull complete 1cf2b01777b2: Pull complete 7f7a2d5e04ed: Pull complete 5957cb2829ab: Pull complete 72c9beff47c4: Pull complete ab9c62862535: Pull complete 24b3168e79cc: Pull complete 7991d5e11db0: Pull complete f7e6d2685a51: Pull complete Digest: sha256:fa8c8582078f633f1d0c502809e020351bb46a447ebffad02496bf19a8201def Status: Downloaded newer image for hightman/xunsearch:latest Pulling mongodb (mongo:3.7)... 3.7: Pulling from library/mongo

ERROR: Get https://registry-1.docker.io/v2/library/mongo/manifests/sha256:fbc5b316430a970543d2e1668164c764977e777a74ffb05c873d0e5df499b6fb: dial tcp: lookup registry-1.docker.io: no such host 请问这个错误如何解决?

共收到 1 条回复
Fecmall#16年前 0 个赞

有阿里云镜像,你可以用阿里云的yml文件,试试

添加回复 (需要登录)
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册
Your Site Analytics