docker-阿里云镜像加速
  8FFsoXRpcNzh 2023年11月02日 37 0

阿里云镜像加速

使用阿里云提供的镜像加速方法,首先访问阿里云。直接在浏览器上访问aliyun.com,然后有账号的就直接用支付宝扫描登陆就可以了。如果没有账号就自己注册一个。
登陆成功之后,需要点击用户的控制台。

docker-阿里云镜像加速_阿里云

docker-阿里云镜像加速_linux_02

docker-阿里云镜像加速_阿里云_03

https://wq8pad8y.mirror.aliyuncs.com

docker-阿里云镜像加速_阿里云_04

sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
  "registry-mirrors": ["https://wq8pad8y.mirror.aliyuncs.com"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
[root@gby ~]# docker pull centos
Using default tag: latest
latest: Pulling from library/centos
a1d0c7532777: Pull complete 
Digest: sha256:a27fd8080b517143cbbbab9dfb7c8571c40d67d534bbdee55bd6c473f432b177
Status: Downloaded newer image for centos:latest
docker.io/library/centos:latest
[root@gby ~]# docker images 
REPOSITORY    TAG       IMAGE ID       CREATED        SIZE
hello-world   latest    feb5d9fea6a5   8 months ago   13.3kB
centos        latest    5d0da3dc9764   8 months ago   231MB


【版权声明】本文内容来自摩杜云社区用户原创、第三方投稿、转载,内容版权归原作者所有。本网站的目的在于传递更多信息,不拥有版权,亦不承担相应法律责任。如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱: cloudbbs@moduyun.com

  1. 分享:
最后一次编辑于 2023年11月08日 0

暂无评论

推荐阅读
  wwLZeziuqjLR   2023年12月11日   14   0   0 Dockercentos
  MCWYWqSAMsot   2023年12月11日   16   0   0 Docker
  DnoStTHsc0vp   2023年12月11日   12   0   0 Docker
  nIt0XG0acU8j   2023年12月11日   15   0   0 linuxhtop