docker,docker-compose命令查看dockerhub得镜像

docker安装完成后

如果国内访问慢或者超时,修改docker镜像源,添加加速器
可以通过修改daemon配置文件/etc/docker/daemon.json来使用加速器

{
"registry-mirrors": [ "https://docker.mirrors.ustc.edu.cn" ]
}

如果你在中国访问Docker Hub的速度较慢或无法访问,你可以尝试使用一些在中国境内提供的Docker镜像加速器。这些加速器可以提供更快的下载速度。以下是一些常见的Docker镜像加速器:

DaoCloud加速器:

链接:https://www.daocloud.io/mirror#accelerator-doc
阿里云加速器:

链接:https://cr.console.aliyun.com/cn-hangzhou/instances/mirrors
网易云加速器:

链接:https://c.163yun.com/hub#/m/repository/
这些加速器通常提供详细的使用说明,你只需按照说明配置Docker即可享受加速服务。请注意,由于Docker镜像的更新频繁,你可能需要定期检查这些加速器提供的服务和文档以获取最新信息。

执行命令

docker search nginx

[root@hadoop1 ~]# docker ps
CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES
[root@hadoop1 ~]# docker search nginx
NAME                               DESCRIPTION                                     STARS     OFFICIAL   AUTOMATED
nginx                              Official build of Nginx.                        19478     [OK]       
unit                               Official build of NGINX Unit: Universal Web …   20        [OK]       
nginxinc/nginx-unprivileged        Unprivileged NGINX Dockerfiles                  139                  
nginx/nginx-ingress                NGINX and  NGINX Plus Ingress Controllers fo…   87                   
nginx/nginx-prometheus-exporter    NGINX Prometheus Exporter for NGINX and NGIN…   34                   
nginxinc/nginx-s3-gateway          Authenticating and caching gateway based on …   5                    
nginx/unit                         This repository is retired, use the Docker o…   64                   
nginx/nginx-ingress-operator       NGINX Ingress Operator for NGINX and NGINX P…   2                    
nginxinc/amplify-agent             NGINX Amplify Agent docker repository           1                    
nginx/nginx-quic-qns               NGINX QUIC interop                              1                    
nginxinc/ingress-demo              Ingress Demo                                    4                    
nginxproxy/nginx-proxy             Automated nginx proxy for Docker containers …   124                  
nginxproxy/acme-companion          Automated ACME SSL certificate generation fo…   128                  
bitnami/nginx                      Bitnami nginx Docker Image                      181                  [OK]
bitnami/nginx-ingress-controller   Bitnami Docker Image for NGINX Ingress Contr…   32                   [OK]
ubuntu/nginx                       Nginx, a high-performance reverse proxy & we…   106                  
nginxinc/nginmesh_proxy_debug                                                      0                    
nginxproxy/docker-gen              Generate files from docker container meta-da…   14                   
nginxinc/mra-fakes3                                                                0                    
kasmweb/nginx                      An Nginx image based off nginx:alpine and in…   7                    
nginxinc/mra_python_base                                                           0                    
nginxinc/ngx-rust-tool                                                             0                    
rancher/nginx-ingress-controller                                                   11                   
nginxinc/nginmesh_proxy_init                                                       0
  • 8
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值