Docker push fails unexpectedly

Expected behavior

docker push should upload image successfully.

The same image pushed with docker-machine/virtualbox/boot2docker succeeded.

P.S. pushing to an internal Artifactory docker registry (tried both v1 and v2)

Actual behavior

docker push repeatedly fails with EOF error

docker push zzz
The push refers to a repository [zzz]
2e12ef2c72f7: Layer already exists
f1c73385a21f: Pushing [==================================================>] 133.4 MB/133.4 MB
1c49164085eb: Pushing [==================================================>] 157.9 MB/157.9 MB
4d0a431f7ff0: Retrying in 14 seconds
1e001ca8ffef: Pushing [==================================================>] 137.7 MB/137.7 MB
7bd6b6163a5f: Pushing [> ] 1.092 MB/193.3 MB
4f20be9f1a19: Pushing [============> ] 37.48 MB/150.8 MB
0427c9cdcd7d: Pushing [=> ] 2.768 MB/86.99 MB
5f70bf18a086: Waiting
2cca3e821cec: Waiting

Failed to upload layer: Put https://zzz/v1/images/177b4e0e38d0f745f2b34ba338c7805d84e9e4472911fb5b064f4cd17c863b73/layer: EOF


  • the output of:
    • Moby Menu > Diagnose & Feedback on OSX

Diagnostic ID: C3B3FDF6-2E6F-4536-81A4-5147801125D6

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

OSX El Capitan 10.11.1 (15B41)

Steps to reproduce the behavior