Docker push is cripplingly slow

Expected behavior

Upload of large layers proceeds as rapidly as small layers

Actual behavior

Upload of large files ( >100MB ) proceeds at less than transfer rates of KB/sec. The result is that an image with a 250 MB layer file took several hours to upload.

There are windows (especially earl in the transfer process) where the transfer is very rapid ( multiple MB/sec). But after a surge, the transfer stalls.

Information

  • the output of:

    • Moby Menu > Diagnose & Feedback on OSX
      Docker for Mac: version: mac-v1.12.0-beta18-3-gec40b14
      OS X: version 10.11.5 (build: 15F34)
      logs: /tmp/20160713-161254.tar.gz
      [OK] docker-cli
      [OK] app
      [OK] menubar
      [OK] virtualization
      [OK] system
      [OK] osxfs
      [OK] db
      [OK] slirp
      [OK] moby-console
      [OK] logs
      [OK] vmnetd
      [OK] env
      [OK] moby
      [OK] driver.amd64-linux
  • a reproducible case if this is a bug, Dockerfiles FTW
    Can be tested with any "docker push file

  • page URL if this is a docs issue or the name of a man page
    N/A

  • host distribution and version ( OSX 10.10.x, OSX 10.11.x, Windows, etc )
    OSX 10.11.5

Docker For Mac
Client:
Version: 1.12.0-rc3
API version: 1.24
Go version: go1.6.2
Git commit: 91e29e8
Built: Sat Jul 2 00:09:24 2016
OS/Arch: darwin/amd64
Experimental: true

Server:
Version: 1.12.0-rc3
API version: 1.24
Go version: go1.6.2
Git commit: 876f3a7
Built: Tue Jul 5 02:20:13 2016
OS/Arch: linux/amd64
Experimental: true

Steps to reproduce the behavior

  1. Build any docker image with a large layer file (>100MB)
  2. use “docker push” to publish that image to a public or private repository
2 Likes

I am having the same problem and since there’s no activity here on the forum, I have created an issue: https://github.com/docker/for-mac/issues/427

1 Like

I have the same problem. Upload speed has been great for ages and suddenly is now stopping and starting with average speeds less than 1 Mb per minute.

Pushing [=>                                                 ]  11.69MB/554.6MB
Pushing [>                                                  ]  14.47MB/1.289GB