moby: Docker push fails with most builds on my home machine

Since docker 1.9 or so, docker push pushes 5 or so layers simultaneously, which on my local machine causes many of the larger ones to timeout and fail (and retry), repeatedly, until the push fails completely. On a VPS or other well-connected machine, things work great, but I can no longer do any development on my home computer. I would love an option that limited to 1 or 2 layers at a time, docker push --max-concurrency=1 or something similar.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Reactions: 9
  • Comments: 16 (8 by maintainers)

Commits related to this issue

Most upvoted comments

Let me add my vote for this. Docker push pretty much fries my rural DSL connection (~6mb/s). Starting a docker push causes my ping RTT’s to go from ~50ms (slow but not unreasonable) to > 2 seconds. This inevitably results in the push timing out and needing to be restarted, hoping that at least one layer manages to succeed after the initial smaller ones get done. It also means I can’t even browse the web in the middle of a docker push.

As a temporary workaround, anyyone got a suggested QoS router setting that can be used to throttle docker a docker push?