Signed-off-by: Mary Anthony <mary@docker.com>
| ... | ... |
@@ -37,15 +37,32 @@ COPY ./release.sh release.sh |
| 37 | 37 |
# |
| 38 | 38 |
#ADD https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/mkdocs.yml /docs/mkdocs-distribution.yml
|
| 39 | 39 |
|
| 40 |
-#ADD https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/overview.md /docs/sources/distribution/overview.md
|
|
| 41 |
-#RUN sed -i.old '1s;^;no_version_dropdown: true;' /docs/sources/distribution/overview.md |
|
| 40 |
+ADD https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/images/notifications.png /docs/sources/registry/images/notifications.png
|
|
| 41 |
+ADD https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/images/registry.png /docs/sources/registry/images/registry.png
|
|
| 42 | 42 |
|
| 43 |
-#ADD https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/install.md /docs/sources/distribution/install.md
|
|
| 44 |
-#RUN sed -i.old '1s;^;no_version_dropdown: true;' /docs/sources/distribution/install.md |
|
| 43 |
+ADD https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/overview.md /docs/sources/registry/overview.md
|
|
| 44 |
+RUN sed -i.old '1s;^;no_version_dropdown: true;' /docs/sources/registry/overview.md |
|
| 45 | 45 |
|
| 46 |
-#ADD https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/architecture.md /docs/sources/distribution/architecture.md
|
|
| 47 |
-#RUN sed -i.old '1s;^;no_version_dropdown: true;' /docs/sources/distribution/architecture.md |
|
| 46 |
+ADD https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/deploying.md /docs/sources/registry/deploying.md
|
|
| 47 |
+RUN sed -i.old '1s;^;no_version_dropdown: true;' /docs/sources/registry/deploying.md |
|
| 48 | 48 |
|
| 49 |
+ADD https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/configuration.md /docs/sources/registry/configuration.md
|
|
| 50 |
+RUN sed -i.old '1s;^;no_version_dropdown: true;' /docs/sources/registry/configuration.md |
|
| 51 |
+ |
|
| 52 |
+ADD https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/storagedrivers.md /docs/sources/registry/storagedrivers.md
|
|
| 53 |
+RUN sed -i.old '1s;^;no_version_dropdown: true;' /docs/sources/registry/storagedrivers.md |
|
| 54 |
+ |
|
| 55 |
+ADD https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/notifications.md /docs/sources/registry/notifications.md
|
|
| 56 |
+RUN sed -i.old '1s;^;no_version_dropdown: true;' /docs/sources/registry/notifications.md |
|
| 57 |
+ |
|
| 58 |
+ADD https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/spec/api.md /docs/sources/registry/spec/api.md
|
|
| 59 |
+RUN sed -i.old '1s;^;no_version_dropdown: true;' /docs/sources/registry/spec/api.md |
|
| 60 |
+ |
|
| 61 |
+ADD https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/spec/json.md /docs/sources/registry/spec/json.md
|
|
| 62 |
+RUN sed -i.old '1s;^;no_version_dropdown: true;' /docs/sources/registry/spec/json.md |
|
| 63 |
+ |
|
| 64 |
+ADD https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/spec/auth/token.md /docs/sources/registry/spec/auth/token.md
|
|
| 65 |
+RUN sed -i.old '1s;^;no_version_dropdown: true;' /docs/sources/registry/spec/auth/token.md |
|
| 49 | 66 |
|
| 50 | 67 |
# Docker Swarm |
| 51 | 68 |
#ADD https://raw.githubusercontent.com/docker/swarm/${SWARM_BRANCH}/docs/mkdocs.yml /docs/mkdocs-swarm.yml
|
| ... | ... |
@@ -88,4 +105,4 @@ ADD https://raw.githubusercontent.com/docker/compose/${COMPOSE_BRANCH}/docs/word
|
| 88 | 88 |
RUN sed -i.old '1s;^;no_version_dropdown: true;' /docs/sources/compose/wordpress.md |
| 89 | 89 |
|
| 90 | 90 |
# Then build everything together, ready for mkdocs |
| 91 |
-RUN /docs/build.sh |
|
| 91 |
+RUN /docs/build.sh |
|
| 92 | 92 |
\ No newline at end of file |
| ... | ... |
@@ -133,10 +133,19 @@ pages: |
| 133 | 133 |
- ['swarm/scheduler/filter.md', 'Reference', 'Swarm filters'] |
| 134 | 134 |
- ['swarm/API.md', 'Reference', 'Swarm API'] |
| 135 | 135 |
- ['reference/api/index.md', '**HIDDEN**'] |
| 136 |
+- ['registry/overview.md', 'Reference', 'Docker Registry 2.0'] |
|
| 137 |
+- ['registry/deploying.md', 'Reference', ' ▪ Deploy a registry' ] |
|
| 138 |
+- ['registry/configuration.md', 'Reference', ' ▪ Configure a registry' ] |
|
| 139 |
+- ['registry/storagedrivers.md', 'Reference', ' ▪ Storage driver model' ] |
|
| 140 |
+- ['registry/notifications.md', 'Reference', ' ▪ Work with notifications' ] |
|
| 141 |
+- ['registry/spec/api.md', 'Reference', ' ▪ Registry Service API v2' ] |
|
| 142 |
+- ['registry/spec/json.md', 'Reference', ' ▪ JSON format' ] |
|
| 143 |
+- ['registry/spec/auth/token.md', 'Reference', ' ▪ Authenticate via central service' ] |
|
| 144 |
+- ['reference/api/hub_registry_spec.md', 'Reference', 'Docker Hub and Registry 1.0'] |
|
| 145 |
+- ['reference/api/registry_api.md', 'Reference', ' ▪ Docker Registry API v1'] |
|
| 146 |
+- ['reference/api/registry_api_client_libraries.md', 'Reference', ' ▪ Docker Registry 1.0 API Client Libraries'] |
|
| 147 |
+#- ['reference/image-spec-v1.md', 'Reference', 'Docker Image Specification v1.0.0'] |
|
| 136 | 148 |
- ['reference/api/docker-io_api.md', 'Reference', 'Docker Hub API'] |
| 137 |
-- ['reference/api/registry_api.md', 'Reference', 'Docker Registry API'] |
|
| 138 |
-- ['reference/api/registry_api_client_libraries.md', 'Reference', 'Docker Registry API Client Libraries'] |
|
| 139 |
-- ['reference/api/hub_registry_spec.md', 'Reference', 'Docker Hub and Registry Spec'] |
|
| 140 | 149 |
#- ['reference/image-spec-v1.md', 'Reference', 'Docker Image Specification v1.0.0'] |
| 141 | 150 |
- ['reference/api/docker_remote_api.md', 'Reference', 'Docker Remote API'] |
| 142 | 151 |
- ['reference/api/docker_remote_api_v1.19.md', 'Reference', 'Docker Remote API v1.19'] |
| ... | ... |
@@ -2,7 +2,7 @@ page_title: Registry Documentation |
| 2 | 2 |
page_description: Documentation for docker Registry and Registry API |
| 3 | 3 |
page_keywords: docker, registry, api, hub |
| 4 | 4 |
|
| 5 |
-# The Docker Hub and the Registry spec |
|
| 5 |
+# The Docker Hub and the Registry 1.0 spec |
|
| 6 | 6 |
|
| 7 | 7 |
## The three roles |
| 8 | 8 |
|
| ... | ... |
@@ -28,9 +28,9 @@ The Docker Hub is authoritative for that information. |
| 28 | 28 |
There is only one instance of the Docker Hub, run and |
| 29 | 29 |
managed by Docker Inc. |
| 30 | 30 |
|
| 31 |
-### Registry |
|
| 31 |
+### Docker Registry 1.0 |
|
| 32 | 32 |
|
| 33 |
-The registry has the following characteristics: |
|
| 33 |
+The 1.0 registry has the following characteristics: |
|
| 34 | 34 |
|
| 35 | 35 |
- It stores the images and the graph for a set of repositories |
| 36 | 36 |
- It does not have user accounts data |
| ... | ... |
@@ -2,11 +2,11 @@ page_title: Registry API |
| 2 | 2 |
page_description: API Documentation for Docker Registry |
| 3 | 3 |
page_keywords: API, Docker, index, registry, REST, documentation |
| 4 | 4 |
|
| 5 |
-# Docker Registry API |
|
| 5 |
+# Docker Registry API v1 |
|
| 6 | 6 |
|
| 7 | 7 |
## Introduction |
| 8 | 8 |
|
| 9 |
- - This is the REST API for the Docker Registry |
|
| 9 |
+ - This is the REST API for the Docker Registry 1.0 |
|
| 10 | 10 |
- It stores the images and the graph for a set of repositories |
| 11 | 11 |
- It does not have user accounts data |
| 12 | 12 |
- It has no notion of user accounts or authorization |
| ... | ... |
@@ -2,7 +2,7 @@ page_title: Registry API Client Libraries |
| 2 | 2 |
page_description: Various client libraries available to use with the Docker registry API |
| 3 | 3 |
page_keywords: API, Docker, index, registry, REST, documentation, clients, C#, Erlang, Go, Groovy, Java, JavaScript, Perl, PHP, Python, Ruby, Rust, Scala |
| 4 | 4 |
|
| 5 |
-# Docker Registry API Client Libraries |
|
| 5 |
+# Docker Registry 1.0 API Client Libraries |
|
| 6 | 6 |
|
| 7 | 7 |
These libraries have not been tested by the Docker maintainers for |
| 8 | 8 |
compatibility. Please file issues with the library owners. If you find |