gcloud docker push reliability

前端 未结 3 1544
执笔经年
执笔经年 2021-01-19 04:39

I have been having a lot of problems pushing images with gcloud docker push over the past few weeks. I\'ve read through the many stack overflow discussions and

3条回答
  •  梦谈多话
    2021-01-19 05:09

    I had the same or similar problem. After a few minutes of retry loop depicted with screenshoot above, the command will fail with net/http: TLS handshake timeout.

    The solution that fixed it for me was editing the docker daemon configuration with

    DOCKER_OPTS="--max-concurrent-uploads=1"

    I had a feeling this issue was connected with docker clogging up the network, as I noticed even browsing to gmail can get a timeout(!)

提交回复
热议问题