docs/docsarchive.md

37 lines
830 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
to view the docs offline on your local machine, run:
```
docker run -ti -p 4000:4000 {{ archive.image }}
```
{% else %}
{% if archive.name != 'edge' %}
## {{ archive.name }}
Docs for {{ archive.name }} are accessible at [**https://docs.docker.com/{{ archive.name }}/**](/{{ archive.name }}/), or to view the docs offline on your local machine,
run:
```
docker run -ti -p 4000:4000 {{ archive.image }}
```
{% endif %} <!-- edge check -->
{% endif %}
{% endfor %}