https://cr.console.aliyun.com/cn-beijing/new https://promotion.aliyun.com/ntms/act/kubernetes.html
https://cr.console.aliyun.com/cn-beijing/new
https://promotion.aliyun.com/ntms/act/kubernetes.html
CentOS7的配置文件:/etc/docker/daemon.json
创建配置文件并添上如下内容
{ "registry-mirrors": ["https://9fzy4xpk.mirror.aliyuncs.com"] }
再执行如下命令:
sudo systemctl daemon-reload sudo systemctl restart docker
docker run hello-world