# 解决openshift3.11不能下载redhat registry.access.redhat.com中镜像问题

尝试`docker pull`

```
# docker pull registry.access.redhat.com/openshift3/registry-console:v3.11
Trying to pull repository registry.access.redhat.com/openshift3/registry-console ...
open /etc/docker/certs.d/registry.access.redhat.com/redhat-ca.crt: no such file or directory
```

下载redhat证书

```
# wget http://mirror.centos.org/centos/7/os/x86_64/Packages/python-rhsm-certificates-1.19.10-1.el7_4.x86_64.rpm
# rpm2cpio python-rhsm-certificates-1.19.10-1.el7_4.x86_64.rpm | cpio -iv --to-stdout ./etc/rhsm/ca/redhat-uep.pem | tee /etc/rhsm/ca/redhat-uep.pem
```

重试后显示正常

```
# docker pull registry.access.redhat.com/openshift3/registry-console:v3.11
Trying to pull repository registry.access.redhat.com/openshift3/registry-console ...
v3.11: Pulling from registry.access.redhat.com/openshift3/registry-console
Digest: sha256:571773b087790ed2ac21a47c5abd89308c54ec53a7f9a1d17b664b135191862e
Status: Image is up to date for registry.access.redhat.com/openshift3/registry-console:v3.11
```


---

# 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://liujinye.gitbook.io/openshift-docs/troubleshooting/jie-jue-openshift3.11-bu-neng-xia-zai-redhat-registry.access.redhat.com-zhong-jing-xiang-wen-ti.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.
