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:
- Upgrade docker. On OS X this means downloading the latest toolbox from http://docker.com/toolbox
- 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.