Convert Markdown frontmatter to YAML
Some frontmatter such as the weights, menu stuff, etc is no longer used 'draft=true' becomes 'published: false' Signed-off-by: Misty Stanley-Jones <misty@docker.com>
This commit is contained in:
parent
c372264f17
commit
f180e9a934
14 changed files with 73 additions and 138 deletions
|
@ -1,13 +1,8 @@
|
||||||
<!--[metadata]>
|
---
|
||||||
+++
|
title: "Configuring a registry"
|
||||||
title = "Configuring a registry"
|
description: "Explains how to configure a registry"
|
||||||
description = "Explains how to configure a registry"
|
keywords: ["registry, on-prem, images, tags, repository, distribution, configuration"]
|
||||||
keywords = ["registry, on-prem, images, tags, repository, distribution, configuration"]
|
---
|
||||||
[menu.main]
|
|
||||||
parent="smn_registry"
|
|
||||||
weight=4
|
|
||||||
+++
|
|
||||||
<![end-metadata]-->
|
|
||||||
|
|
||||||
# Registry Configuration Reference
|
# Registry Configuration Reference
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,8 @@
|
||||||
<!--[metadata]>
|
---
|
||||||
+++
|
title: "HTTP API V2"
|
||||||
title = "HTTP API V2"
|
description: "Specification for the Registry API."
|
||||||
description = "Specification for the Registry API."
|
keywords: ["registry, on-prem, images, tags, repository, distribution, api, advanced"]
|
||||||
keywords = ["registry, on-prem, images, tags, repository, distribution, api, advanced"]
|
---
|
||||||
[menu.main]
|
|
||||||
parent="smn_registry_ref"
|
|
||||||
+++
|
|
||||||
<![end-metadata]-->
|
|
||||||
|
|
||||||
# Docker Registry HTTP API V2
|
# Docker Registry HTTP API V2
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,8 @@
|
||||||
<!--[metadata]>
|
---
|
||||||
+++
|
title: "HTTP API V2"
|
||||||
title = "HTTP API V2"
|
description: "Specification for the Registry API."
|
||||||
description = "Specification for the Registry API."
|
keywords: ["registry, on-prem, images, tags, repository, distribution, api, advanced"]
|
||||||
keywords = ["registry, on-prem, images, tags, repository, distribution, api, advanced"]
|
---
|
||||||
[menu.main]
|
|
||||||
parent="smn_registry_ref"
|
|
||||||
+++
|
|
||||||
<![end-metadata]-->
|
|
||||||
|
|
||||||
# Docker Registry HTTP API V2
|
# Docker Registry HTTP API V2
|
||||||
|
|
||||||
|
|
|
@ -1,13 +1,8 @@
|
||||||
<!--[metadata]>
|
---
|
||||||
+++
|
title: "Docker Registry Token Authentication"
|
||||||
title = "Docker Registry Token Authentication"
|
description: "Docker Registry v2 authentication schema"
|
||||||
description = "Docker Registry v2 authentication schema"
|
keywords: ["registry, on-prem, images, tags, repository, distribution, authentication, advanced"]
|
||||||
keywords = ["registry, on-prem, images, tags, repository, distribution, authentication, advanced"]
|
---
|
||||||
[menu.main]
|
|
||||||
parent="smn_registry_ref"
|
|
||||||
weight=100
|
|
||||||
+++
|
|
||||||
<![end-metadata]-->
|
|
||||||
|
|
||||||
# Docker Registry v2 authentication
|
# Docker Registry v2 authentication
|
||||||
|
|
||||||
|
|
|
@ -1,13 +1,8 @@
|
||||||
<!--[metadata]>
|
---
|
||||||
+++
|
title: "Token Authentication Implementation"
|
||||||
title = "Token Authentication Implementation"
|
description: "Describe the reference implementation of the Docker Registry v2 authentication schema"
|
||||||
description = "Describe the reference implementation of the Docker Registry v2 authentication schema"
|
keywords: ["registry, on-prem, images, tags, repository, distribution, JWT authentication, advanced"]
|
||||||
keywords = ["registry, on-prem, images, tags, repository, distribution, JWT authentication, advanced"]
|
---
|
||||||
[menu.main]
|
|
||||||
parent="smn_registry_ref"
|
|
||||||
weight=101
|
|
||||||
+++
|
|
||||||
<![end-metadata]-->
|
|
||||||
|
|
||||||
# Docker Registry v2 Bearer token specification
|
# Docker Registry v2 Bearer token specification
|
||||||
|
|
||||||
|
|
|
@ -1,13 +1,8 @@
|
||||||
<!--[metadata]>
|
---
|
||||||
+++
|
title: "Oauth2 Token Authentication"
|
||||||
title = "Oauth2 Token Authentication"
|
description: "Specifies the Docker Registry v2 authentication"
|
||||||
description = "Specifies the Docker Registry v2 authentication"
|
keywords: ["registry, on-prem, images, tags, repository, distribution, oauth2, advanced"]
|
||||||
keywords = ["registry, on-prem, images, tags, repository, distribution, oauth2, advanced"]
|
---
|
||||||
[menu.main]
|
|
||||||
parent="smn_registry_ref"
|
|
||||||
weight=102
|
|
||||||
+++
|
|
||||||
<![end-metadata]-->
|
|
||||||
|
|
||||||
# Docker Registry v2 authentication using OAuth2
|
# Docker Registry v2 authentication using OAuth2
|
||||||
|
|
||||||
|
@ -193,4 +188,3 @@ Content-Type: application/json
|
||||||
|
|
||||||
{"refresh_token":"kas9Da81Dfa8","access_token":"eyJhbGciOiJFUzI1NiIsInR5":"expires_in":900,"scope":"repository:samalba/my-app:pull,repository:samalba/my-app:push"}
|
{"refresh_token":"kas9Da81Dfa8","access_token":"eyJhbGciOiJFUzI1NiIsInR5":"expires_in":900,"scope":"repository:samalba/my-app:pull,repository:samalba/my-app:push"}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -1,13 +1,8 @@
|
||||||
<!--[metadata]>
|
---
|
||||||
+++
|
title: "Token Scope Documentation"
|
||||||
title = "Token Scope Documentation"
|
description: "Describes the scope and access fields used for registry authorization tokens"
|
||||||
description = "Describes the scope and access fields used for registry authorization tokens"
|
keywords: ["registry, on-prem, images, tags, repository, distribution, advanced, access, scope"]
|
||||||
keywords = ["registry, on-prem, images, tags, repository, distribution, advanced, access, scope"]
|
---
|
||||||
[menu.main]
|
|
||||||
parent="smn_registry_ref"
|
|
||||||
weight=103
|
|
||||||
+++
|
|
||||||
<![end-metadata]-->
|
|
||||||
|
|
||||||
# Docker Registry Token Scope and Access
|
# Docker Registry Token Scope and Access
|
||||||
|
|
||||||
|
@ -140,4 +135,3 @@ done by fetching an access token using the refresh token. Since the refresh
|
||||||
token is not scoped to specific resources for an audience, extra care should
|
token is not scoped to specific resources for an audience, extra care should
|
||||||
be taken to only use the refresh token to negotiate new access tokens directly
|
be taken to only use the refresh token to negotiate new access tokens directly
|
||||||
with the authorization server, and never with a resource provider.
|
with the authorization server, and never with a resource provider.
|
||||||
|
|
||||||
|
|
|
@ -1,13 +1,8 @@
|
||||||
<!--[metadata]>
|
---
|
||||||
+++
|
title: "Token Authentication Specification"
|
||||||
title = "Token Authentication Specification"
|
description: "Specifies the Docker Registry v2 authentication"
|
||||||
description = "Specifies the Docker Registry v2 authentication"
|
keywords: ["registry, on-prem, images, tags, repository, distribution, Bearer authentication, advanced"]
|
||||||
keywords = ["registry, on-prem, images, tags, repository, distribution, Bearer authentication, advanced"]
|
---
|
||||||
[menu.main]
|
|
||||||
parent="smn_registry_ref"
|
|
||||||
weight=104
|
|
||||||
+++
|
|
||||||
<![end-metadata]-->
|
|
||||||
|
|
||||||
# Docker Registry v2 authentication via central service
|
# Docker Registry v2 authentication via central service
|
||||||
|
|
||||||
|
@ -25,7 +20,7 @@ This document outlines the v2 Docker registry authentication scheme:
|
||||||
5. The client retries the original request with the Bearer token embedded in
|
5. The client retries the original request with the Bearer token embedded in
|
||||||
the request's Authorization header.
|
the request's Authorization header.
|
||||||
6. The Registry authorizes the client by validating the Bearer token and the
|
6. The Registry authorizes the client by validating the Bearer token and the
|
||||||
claim set embedded within it and begins the push/pull session as usual.
|
claim set embedded within it and begins the push/pull session as usual.
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
|
@ -161,7 +156,7 @@ Defines getting a bearer and refresh token using the token endpoint.
|
||||||
<code>expires_in</code>
|
<code>expires_in</code>
|
||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
(Optional) The duration in seconds since the token was issued that it
|
(Optional) The duration in seconds since the token was issued that it
|
||||||
will remain valid. When omitted, this defaults to 60 seconds. For
|
will remain valid. When omitted, this defaults to 60 seconds. For
|
||||||
compatibility with older clients, a token should never be returned with
|
compatibility with older clients, a token should never be returned with
|
||||||
less than 60 seconds to live.
|
less than 60 seconds to live.
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
<!--[metadata]>
|
---
|
||||||
+++
|
published: false
|
||||||
draft = true
|
---
|
||||||
+++
|
|
||||||
<![end-metadata]-->
|
|
||||||
|
|
||||||
# Distribution API Implementations
|
# Distribution API Implementations
|
||||||
|
|
||||||
|
|
|
@ -1,13 +1,8 @@
|
||||||
<!--[metadata]>
|
---
|
||||||
+++
|
title: "Reference Overview"
|
||||||
title = "Reference Overview"
|
description: "Explains registry JSON objects"
|
||||||
description = "Explains registry JSON objects"
|
keywords: ["registry, service, images, repository, json"]
|
||||||
keywords = ["registry, service, images, repository, json"]
|
---
|
||||||
[menu.main]
|
|
||||||
parent="smn_registry_ref"
|
|
||||||
weight=-1
|
|
||||||
+++
|
|
||||||
<![end-metadata]-->
|
|
||||||
|
|
||||||
# Docker Registry Reference
|
# Docker Registry Reference
|
||||||
|
|
||||||
|
|
|
@ -1,13 +1,9 @@
|
||||||
<!--[metadata]>
|
---
|
||||||
+++
|
published: false
|
||||||
draft=true
|
title: "Docker Distribution JSON Canonicalization"
|
||||||
title = "Docker Distribution JSON Canonicalization"
|
description: "Explains registry JSON objects"
|
||||||
description = "Explains registry JSON objects"
|
keywords: ["registry, service, images, repository, json"]
|
||||||
keywords = ["registry, service, images, repository, json"]
|
---
|
||||||
[menu.main]
|
|
||||||
parent="smn_registry_ref"
|
|
||||||
+++
|
|
||||||
<![end-metadata]-->
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,8 @@
|
||||||
<!--[metadata]>
|
---
|
||||||
+++
|
title: "Image Manifest V 2, Schema 1 "
|
||||||
title = "Image Manifest V 2, Schema 1 "
|
description: "image manifest for the Registry."
|
||||||
description = "image manifest for the Registry."
|
keywords: ["registry, on-prem, images, tags, repository, distribution, api, advanced, manifest"]
|
||||||
keywords = ["registry, on-prem, images, tags, repository, distribution, api, advanced, manifest"]
|
---
|
||||||
[menu.main]
|
|
||||||
parent="smn_registry_ref"
|
|
||||||
+++
|
|
||||||
<![end-metadata]-->
|
|
||||||
|
|
||||||
# Image Manifest Version 2, Schema 1
|
# Image Manifest Version 2, Schema 1
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,8 @@
|
||||||
<!--[metadata]>
|
---
|
||||||
+++
|
title: "Image Manifest V 2, Schema 2 "
|
||||||
title = "Image Manifest V 2, Schema 2 "
|
description: "image manifest for the Registry."
|
||||||
description = "image manifest for the Registry."
|
keywords: ["registry, on-prem, images, tags, repository, distribution, api, advanced, manifest"]
|
||||||
keywords = ["registry, on-prem, images, tags, repository, distribution, api, advanced, manifest"]
|
---
|
||||||
[menu.main]
|
|
||||||
parent="smn_registry_ref"
|
|
||||||
+++
|
|
||||||
<![end-metadata]-->
|
|
||||||
|
|
||||||
# Image Manifest Version 2, Schema 2
|
# Image Manifest Version 2, Schema 2
|
||||||
|
|
||||||
|
|
|
@ -1,13 +1,7 @@
|
||||||
<!--[metadata]>
|
---
|
||||||
+++
|
title: "Reference"
|
||||||
title = "Reference"
|
description: "Explains registry JSON objects"
|
||||||
description = "Explains registry JSON objects"
|
keywords: ["registry, service, images, repository, json"]
|
||||||
keywords = ["registry, service, images, repository, json"]
|
type: "menu"
|
||||||
type = "menu"
|
identifier: "smn_registry_ref"
|
||||||
[menu.main]
|
---
|
||||||
identifier="smn_registry_ref"
|
|
||||||
parent="smn_registry"
|
|
||||||
weight=7
|
|
||||||
+++
|
|
||||||
<![end-metadata]-->
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue