Docker push - net/http: TLS handshake timeout

前端 未结 2 691
你的背包
你的背包 2021-02-15 18:06

I\'ve deployed a private docker image registry on an AWS EC2 Ubuntu 14.04 instance. The registry is secured using Let\'s Encrypt certificate.

Unfortunately, I\'m getting

2条回答
  •  抹茶落季
    2021-02-15 18:40

    I got the same issue, this issue is may be from your internet connection, I solved it by decrementing the concurrency uploads (downloads for get) to 1 in dockerd. By using these args:

    --max-concurrent-downloads  (default: 3)    Set the max concurrent downloads for each pull
    
    --max-concurrent-uploads    (default: 5)    Set the max concurrent uploads for each push
    

    uploading 5 images in same time may result a timeout if you have a low bandwidth.

    https://docs.docker.com/engine/reference/commandline/dockerd/

提交回复
热议问题