mirror of https://github.com/docker/docs.git
Publish v1.12 archive
This commit is contained in:
parent
e74934927b
commit
b547d91606
|
@ -1,6 +1,6 @@
|
|||
FROM starefossen/github-pages
|
||||
|
||||
ENV VERSIONS="v1.4 v1.5 v1.6 v1.7 v1.8 v1.9 v1.10 v1.11"
|
||||
ENV VERSIONS="v1.4 v1.5 v1.6 v1.7 v1.8 v1.9 v1.10 v1.11 v1.12"
|
||||
|
||||
# Create archive; check out each version, create HTML, tweak links
|
||||
RUN git clone https://www.github.com/docker/docker.github.io temp; \
|
||||
|
|
|
@ -30,3 +30,7 @@ v1.11:
|
|||
image: docs/docker.github.io:v1.11
|
||||
ports:
|
||||
- "4111:4000"
|
||||
v1.12:
|
||||
image: docs/docker.github.io:v1.12
|
||||
ports:
|
||||
- "4112:4000"
|
||||
|
|
|
@ -1819,4 +1819,6 @@ toc:
|
|||
title: v1.10
|
||||
- path: /v1.11
|
||||
title: v1.11
|
||||
- path: /v1.12
|
||||
title: v1.12
|
||||
path: /docsarchive/
|
||||
|
|
|
@ -7,12 +7,12 @@ prior version of Docker was shipped.
|
|||
|
||||
## View the docs archives locally
|
||||
|
||||
The docs archive is published as a [Docker repository at docs/archive](https://hub.docker.com/r/docs/archive/tags/).
|
||||
The docs archive is published as a [Docker Hub repository at docs/docker.github.io](https://hub.docker.com/r/docs/docker.github.io/tags/).
|
||||
To see any of these versions, run the following command, changing
|
||||
the tag from `v1.4` to any tag you see in [the repo](https://hub.docker.com/r/docs/archive/tags/):
|
||||
the tag from `v1.4` to any tag you see in [the repo](https://hub.docker.com/r/docs/docker.github.io/tags/):
|
||||
|
||||
```shell
|
||||
docker run -p 4000:4000 docs/archive:v1.4
|
||||
docker run -p 4000:4000 docs/docker.github.io:v1.4
|
||||
```
|
||||
|
||||
The docs for `v1.4` will then be viewable at `http://localhost:4000`.
|
||||
|
|
Loading…
Reference in New Issue