zoukankan      html  css  js  c++  java
  • Docker pull网络错误

    [root@Oracle ~]# docker search centos
    Error response from daemon: Get https://index.docker.io/v1/search?q=centos&n=25: dial tcp: lookup index.docker.io on 114.114.114.114:53: read udp 192.168.14.87:59750->114.114.114.114:53: i/o timeout
    

    1. 编辑Docker配置文件

    [root@Oracle ~]# vi /etc/docker/daemon.json
    

    2. 添加Docker仓库

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

    3. 重启Docker服务

    [root@Oracle ~]# service docker restart
    

    4. 测试

    [root@Oracle ~]# docker search mysql
    INDEX       NAME                                                             DESCRIPTION                                     STARS     OFFICIAL   AUTOMATED
    docker.io   docker.io/mysql                                                  MySQL is a widely used, open-source relati...   6916      [OK]       
    docker.io   docker.io/mariadb                                                MariaDB is a community-developed fork of M...   2211      [OK]       
    docker.io   docker.io/mysql/mysql-server                                     Optimized MySQL Server Docker images. Crea...   506                  [OK]
    docker.io   docker.io/percona                                                Percona Server is a fork of the MySQL rela...   366       [OK]       
    docker.io   docker.io/zabbix/zabbix-server-mysql                             Zabbix Server with MySQL database support       124                  [OK]
    docker.io   docker.io/hypriot/rpi-mysql                                      RPi-compatible Docker Image with Mysql          95                   
    docker.io   docker.io/zabbix/zabbix-web-nginx-mysql                          Zabbix frontend based on Nginx web-server ...   66                   [OK]
    docker.io   docker.io/centurylink/mysql                                      Image containing mysql. Optimized to be li...   60                   [OK]
    docker.io   docker.io/1and1internet/ubuntu-16-nginx-php-phpmyadmin-mysql-5   ubuntu-16-nginx-php-phpmyadmin-mysql-5          43                   [OK]
    docker.io   docker.io/centos/mysql-57-centos7                                MySQL 5.7 SQL database server                   39                   
    docker.io   docker.io/mysql/mysql-cluster                                    Experimental MySQL Cluster Docker images. ...   34                   
    docker.io   docker.io/tutum/mysql                                            Base docker image to run a MySQL database ...   32                   
    docker.io   docker.io/schickling/mysql-backup-s3                             Backup MySQL to S3 (supports periodic back...   22                   [OK]
    docker.io   docker.io/bitnami/mysql                                          Bitnami MySQL Docker Image                      18                   [OK]
    docker.io   docker.io/zabbix/zabbix-proxy-mysql                              Zabbix proxy with MySQL database support        15                   [OK]
    docker.io   docker.io/linuxserver/mysql                                      A Mysql container, brought to you by Linux...   14                   
    docker.io   docker.io/centos/mysql-56-centos7                                MySQL 5.6 SQL database server                   10                   
    docker.io   docker.io/circleci/mysql                                         MySQL is a widely used, open-source relati...   6                    
    docker.io   docker.io/openshift/mysql-55-centos7                             DEPRECATED: A Centos7 based MySQL v5.5 ima...   6                    
    docker.io   docker.io/mysql/mysql-router                                     MySQL Router provides transparent routing ...   4                    
    docker.io   docker.io/jelastic/mysql                                         An image of the MySQL database server main...   1                    
    docker.io   docker.io/openzipkin/zipkin-mysql                                Mirror of https://quay.io/repository/openz...   1                    
    docker.io   docker.io/ansibleplaybookbundle/mysql-apb                        An APB which deploys RHSCL MySQL                0                    [OK]
    docker.io   docker.io/cloudfoundry/cf-mysql-ci                               Image used in CI of cf-mysql-release            0                    
    docker.io   docker.io/cloudposse/mysql                                       Improved `mysql` service with support for ...   0                    [OK]
    

      

  • 相关阅读:
    VUE组件间传参
    JS-03 (RegExp对象&字符串总结)
    JS-02 (字符串的正则函数)
    理解 C++ 的 Memory Order
    GCC的原子操作函数
    barrier内存屏障
    tcp重传机制,流量控制,拥塞控制
    TCP 的拥塞控制
    Monitoring and Tuning the Linux Networking Stack: Receiving Data
    kernel网络之软中断
  • 原文地址:https://www.cnblogs.com/liuchao102/p/9629523.html
Copyright © 2011-2022 走看看