mirror of
https://github.com/docker/docs.git
synced 2026-03-27 22:38:54 +07:00
- Renamed docker-compose.yaml to archives.yaml since we are not using it as a docker-compose.yaml anymore - Added current docs into that archive list, added a key that can be set to to indicate that the archive is the latest - Output a new file that can be used by non-current archives to build up a list of all archives including what's current, dynamically - Single-sourced and liquefied the list that builds up the archives in the latest version
32 lines
666 B
Markdown
32 lines
666 B
Markdown
---
|
|
title: View the docs archives
|
|
---
|
|
|
|
This page lists the various ways you can view the docs as they were when a
|
|
prior version of Docker was shipped.
|
|
|
|
{% for archive in site.data.docsarchive.archives %}
|
|
|
|
{% if archive.current %}
|
|
|
|
## {{ archive.name }} (current)
|
|
|
|
Docs for {{ archive.name }} _(current)_ are accessible at [**https://docs.docker.com/**](/), or
|
|
run:
|
|
|
|
```
|
|
docker run -ti -p 4000:4000 {{ archive.image }}
|
|
```
|
|
{% else %}
|
|
|
|
## {{ archive.name }}
|
|
|
|
Docs for {{ archive.name }} are accessible at [**https://docs.docker.com/{{ archive.name }}/**](/{{ archive.name }}/), or
|
|
run:
|
|
|
|
```
|
|
docker run -ti -p 4000:4000 {{ archive.image }}
|
|
```
|
|
{% endif %}
|
|
{% endfor %}
|