Merge pull request #8025 from davidpelaez-forks/docs-fix
Improved X-Registry-Auth content instructions
This commit is contained in:
commit
c7c78acf81
1 changed files with 5 additions and 2 deletions
|
@ -15,8 +15,11 @@ page_keywords: API, Docker, rcli, REST, documentation
|
|||
- Since API version 1.2, the auth configuration is now handled client
|
||||
side, so the client has to send the `authConfig` as a `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}`
|
||||
encoded (JSON) string with the following structure:
|
||||
`{"username": "string", "password": "string", "email": "string",
|
||||
"serveraddress" : "string", "auth": ""}`. Notice that `auth` is to be left
|
||||
empty, `serveraddress` is a domain/ip without protocol, and that double
|
||||
quotes (instead of single ones) are required.
|
||||
|
||||
The current version of the API is v1.15
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue