docker配置阿里云镜像加速器,解决镜像拉取缓慢

1. 首先登录阿里云服务器

2. 首页搜索容器镜像服务,点立即开通

docker配置阿里云镜像加速器,解决镜像拉取缓慢_第1张图片

3. 找到镜像加速器,复制对应的命令,在linux中执行

docker配置阿里云镜像加速器,解决镜像拉取缓慢_第2张图片

4.测试镜像加速器,从中央仓库镜像了一个tomcat。用了加速器之后还是非常快的

[root@VM_0_10_centos /]# docker pull tomcat
Using default tag: latest
latest: Pulling from library/tomcat
7e2b2a5af8f6: Pull complete 
09b6f03ffac4: Pull complete 
dc3f0c679f0f: Pull complete 
fd4b47407fc3: Pull complete 
bb40faab53a2: Pull complete 
1015b1b4c9ac: Pull complete 
dc9b56c32795: Pull complete 
7cc86ac3141b: Pull complete 
a87d3a3ed1af: Pull complete 
4ef7fc58bece: Pull complete 
Digest: sha256:1458fb9bb9d3d46d3129f95849233e31d82391723830ebd61441c24635460b84
Status: Downloaded newer image for tomcat:latest
docker.io/library/tomcat:latest
[root@VM_0_10_centos /]# 


>多谢阿里-.-

你可能感兴趣的:(Docker)