dotcloud/docker — pull request #659 by pasky (2013-05-21 02:30:11+00:00)
Title: push: Try direct registry communication when index fails (Fixes #615)

When specifying a custom -registry, the index is assumed to reside at
the same place. Attempt to do the sensible thing when this turns out not
to be the case and instead of failing hard, try to connect to the
specified registry as an endpoint without any authentication token.