docs/api
Hu Keping cee62a95a2 Add nice error message
Generally, when using Remote API to push images there needs a http Header
X-Registry-Auth.
For compatibility if there was no authConfig header, everything will be
okay if a proper JSON-http-body was applied.

But when both X-Registry-Auth Header and the Body are missing, due to
the function of decode JSON, it will return an EOF error which was not
very clear to user.

So I think we can make the respone error be more nice.

Signed-off-by: Hu Keping <hukeping@huawei.com>
2015-03-28 16:27:30 +08:00
..
client Replace aliased imports of logrus, fixes #11762 2015-03-26 23:22:04 +01:00
server Add nice error message 2015-03-28 16:27:30 +08:00
types fixes comment for ContainerWaitResponse struct 2015-03-25 22:22:58 -06:00
README.md Update README.md 2014-07-04 18:21:13 +09:00
api_unit_test.go fix tests 2014-03-31 18:11:53 +00:00
common.go Replace aliased imports of logrus, fixes #11762 2015-03-26 23:22:04 +01:00

README.md

This directory contains code pertaining to the Docker API:

  • Used by the docker client when communicating with the docker daemon

  • Used by third party tools wishing to interface with the docker daemon