# 关于6月8日后docker无法从dockerHub拉取镜像的解决办法

## 方法一：使用梯子

**原理**：懂得都懂！！

可以使用梯子来获取docker.io仓库的镜像，梯子使用方法这里不做描述

## 方法二：使用仓库代理

**原理**：一些大佬借助香港、海外服务搭建代理地址

这个时候就有好心人，我们可以蹭一下，不再多说废话，配置如下

**注意：**&#x8FD9;些不保证每个时刻都有效，尽量多加几个，以防万一！

{% code title="daemon.json" lineNumbers="true" %}

```json
{
  "registry-mirrors": [
    "https://docker.registry.cyou",
    "https://docker-cf.registry.cyou",
    "https://docker.jsdelivr.fyi",
    "https://dockercf.jsdelivr.fyi",
    "https://dockerpull.com",
    "https://dockerproxy.cn",
    "https://hub.uuuadc.top",
    "https://docker.1panel.live",
    "https://hub.rat.dev",
    "https://docker.anyhub.us.kg",
    "https://docker.ckyl.me"
  ]
}
```

{% endcode %}

**参考来源**：<https://github.com/2694484453/CF-Workers-docker.io>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://gitbook.gpg123.vip/untitled-1/guan-yu-6-yue-8-ri-hou-docker-wu-fa-cong-dockerhub-la-qu-jing-xiang-de-jie-jue-ban-fa.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
