Docker push - net/http: TLS handshake timeout

前端 未结 2 699
你的背包
你的背包 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:45

    Just adding a separate answer for those who may be dealing with it on a managed build environment like Azure Devops based on https://github.com/actions/virtual-environments/issues/2152#issuecomment-736325518

    Change the setting as follows

    sudo sed -i 's/ }/, \"max-concurrent-uploads\": 1 }/' /etc/docker/daemon.json
    sudo systemctl restart docker
    

提交回复
热议问题