• docker 安装与使用的相关问题


    Error response from daemon: i/o timeout

    $ sudo docker search centos
    Error response from daemon: Get https://index.docker.io/v1/search?q=centos&n=25: dial tcp 3.225.34.151:443: i/o timeout
    
    $ sudo vim /etc/docker/daemon.json
    {
        "registry-mirrors": ["http://hub-mirror.c.163.com"]
    }
    or
    {
      "registry-mirrors": ["https://registry.docker-cn.com"]
    }
    
    $ sudo vim /etc/resolv.conf
    # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
    #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
    nameserver 127.0.1.1
    nameserver 8.8.8.8
    nameserver 8.8.4.4
    
    $ sudo systemctl daemon-reload
    $ sudo systemctl restart docker
    
    $ sudo docker search centos
    NAME                               DESCRIPTION                                     STARS               OFFICIAL            AUTOMATED
    centos                             The official build of CentOS.                   5626                [OK]
    ansible/centos7-ansible            Ansible on Centos7                              125                                     [OK]
    jdeathe/centos-ssh                 OpenSSH / Supervisor / EPEL/IUS/SCL Repos - …   114                                     [OK]
    consol/centos-xfce-vnc             Centos container with "headless" VNC session…   99                                      [OK]
    
  • 相关阅读:
    一本通1647迷路
    一本通1646GT 考试
    矩阵
    矩阵快速幂
    数学基础
    清北学堂学习经验(论颓废)
    钟皓曦第二天讲课
    P3275 [SCOI2011]糖果
    P1270 “访问”美术馆
    P2015 二叉苹果树
  • 原文地址:https://www.cnblogs.com/qccz123456/p/11732368.html
Copyright © 2020-2023  润新知