使用docker search时报如题错误:
1.修改daemon.json
{ “registry-mirrors”: [“https://registry.docker-cn.com”] }
2.重启docker
systemctl restart docker.service