浏览代码

Merge pull request #4984 from michaelneale/master

explained what authConfig actually is
James Turnbull 11 年之前
父节点
当前提交
be882d989a
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      docs/sources/reference/api/docker_remote_api.rst

+ 2 - 0
docs/sources/reference/api/docker_remote_api.rst

@@ -22,6 +22,8 @@ Docker Remote API
 - Since API version 1.2, the auth configuration is now handled client
   side, so the client has to send the authConfig as POST in
   /images/(name)/push
+- authConfig, set as the ``X-Registry-Auth`` header, is currently a Base64 encoded (json) string with credentials:  
+  ``{'username': string, 'password': string, 'email': string, 'serveraddress' : string}``
 
 2. Versions
 ===========