vim /etc/containers/registries.conf
[registries.search]registries = ['https://registry.docker-cn.com']
重启docker
# systemctl daemon-reload# systemctl restart docker.service