zoukankan      html  css  js  c++  java
  • Docker pull的时候报错

    [root@Template images]# docker pull tomcat
    Using default tag: latest
    Trying to pull repository docker.io/library/tomcat ... 
    latest: Pulling from docker.io/library/tomcat
    
    c73ab1c6897b: Pulling fs layer 
    1ab373b3deae: Pulling fs layer 
    0bcc3741ab14: Waiting 
    421d624d778d: Waiting 
    26ad58237506: Waiting 
    8dbabc90b2b8: Waiting 
    982930be204d: Waiting 
    80869be51738: Waiting 
    ebc6831d2466: Waiting 
    e1d0586dfcce: Waiting 
    f84378b2ff18: Waiting 
    error pulling image configuration: Get https://dseasb33srnrn.cloudfront.net/registry-v2/docker/registry/v2/blobs/sha256/51/516082cd94faee5ebf7b1bae4086249cbaf73638bd607827e59a963303fc8fa9/data?Expires=1521730958&Signature=dEaJP0029wf7lGrIE6AIRJeww2XHl52TK~ty2R2xtjAS1t1tea4Q4RyaalL--Kf7jE6ch5CCdJXi4Nvr43GFSULOlwbbZOrDnByx1iFblSt0bDMNKkkI8-TqEK0hjOEdhbPRPWcbnE~9OkEzuLx4tgth9lOhvU95eSzPamGa2d4_&Key-Pair-Id=APKAJECH5M7VWIS5YZ6Q: net/http: TLS handshake timeout

    解决方法:

     1、修改 配置文件:

    /etc/sysconfig/docker
    [root@Template images]# cat /etc/sysconfig/docker
    # /etc/sysconfig/docker
    
    # Modify these options if you want to change the way the docker daemon runs
    OPTIONS='--selinux-enabled --log-driver=journald --signature-verification=false --registry-mirror=http://f2d6cb40.m.daocloud.io'
    if [ -z "${DOCKER_CERT_PATH}" ]; then
        DOCKER_CERT_PATH=/etc/docker
    fi
    
    # Do not add registries in this file anymore. Use /etc/containers/registries.conf
    # from the atomic-registries package.
    #
    
    # docker-latest daemon can be used by starting the docker-latest unitfile.
    # To use docker-latest client, uncomment below lines
    #DOCKERBINARY=/usr/bin/docker-latest
    #DOCKERDBINARY=/usr/bin/dockerd-latest
    #DOCKER_CONTAINERD_BINARY=/usr/bin/docker-containerd-latest
    #DOCKER_CONTAINERD_SHIM_BINARY=/usr/bin/docker-containerd-shim-latest
    [root@Template images]# 

    2、重启:

    [root@Template images]# systemctl  restart   docker
  • 相关阅读:
    第二阶段冲刺报告(三)
    第二阶段冲刺报告(二)
    第二阶段冲刺报告(一)
    课程改进意见
    用户体验
    返回一个二维整数数组中最大联通子数组的和
    《你的灯亮着吗》阅读笔记三 ——谁的问题
    《你的灯亮着吗》阅读笔记二 ——什么是真正的问题
    《你的灯亮着吗》阅读笔记一 —— 问题是什么?
    我爱淘冲刺阶段站立会议2每天任务6
  • 原文地址:https://www.cnblogs.com/sheng-247/p/8622322.html
Copyright © 2011-2022 走看看