Files
docker-docs/docsarchive.md
Misty Stanley-Jones fcc4ea05c7 Archives improvements:
- 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
2017-03-08 14:32:52 -08:00

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 %}