Image push failures with docker v1.8.0

When using v1.8.0 of the docker command line tool, I was became unable to push images to the docker hub. Their support team told me that they’d blocked v1.8.0 due to a bug which is fixed in v1.8.1.

Here’s the error response I was getting with v1.8.0:

$ docker push powdahound/test
The push refers to a repository [docker.io/powdahound/test] (len: 1)
10a2a414a441: Buffering to Disk
Error parsing HTTP response: invalid character '<' looking for beginning of value: "<html><body><h1>403 Forbidden</h1>\nRequest forbidden by administrative rules.\n</body></html>\n\n"

To fix it you need to do two things:

  1. Upgrade docker. On OS X this means downloading the latest toolbox from http://docker.com/toolbox
  2. Run a docker-machine upgrade default

Couldn’t find any other reports of this on Google/GitHub/Twitter/here but can’t imagine I’m the only one who will run into this. Hope this helps.

This was very useful, thanks for posting this. I ran into the same problem and was able to resolve it with your help

1 Like