After trying it, https://index.docker.io/v1/search?q=redis&n=25 can respond normally in the browser .
Troubleshoot server address issues. It is said on the Internet that the system time is inconsistent with the server time and the external time. Verification after synchronization, it is indeed the reason.
perfect solution