# 1
vim /etc/docker/daemon.json

# 2 拷贝下面代码
{
"registry-mirrors": ["http://hub-mirror.c.163.com"]
}

# 3 重启
sudo service