404 cleanup (#3581)

* Fix Edge API reference links

* Add redirect for docker-for-mac/osx/ which is referenced by an error message

* Fetch the Edge run reference
This commit is contained in:
Misty Stanley-Jones 2017-06-13 11:44:28 -07:00 committed by GitHub
parent 5522090c0f
commit c5a3fa511f
3 changed files with 4 additions and 2 deletions

View File

@ -35,6 +35,7 @@ wget -O md_source/engine/api/v1.29/swagger.yaml https://raw.githubusercontent.co
# Get a few one-off files that we use directly from upstream
wget -O md_source/engine/reference/builder.md https://raw.githubusercontent.com/docker/docker/"$ENGINE_BRANCH"/docs/reference/builder.md || (echo "Failed engine/reference/builder.md download" && exit -1)
wget -O md_source/engine/reference/run.md https://raw.githubusercontent.com/docker/docker/"$ENGINE_BRANCH"/docs/reference/run.md || (echo "Failed engine/reference/run.md download" && exit -1)
wget -O md_source/edge/engine/reference/run.md https://raw.githubusercontent.com/docker/docker/v17.05.0-ce/docs/reference/run.md || (echo "Failed engine/reference/run.md download" && exit -1)
wget -O md_source/engine/reference/commandline/cli.md https://raw.githubusercontent.com/docker/docker/"$ENGINE_BRANCH"/docs/reference/commandline/cli.md || (echo "Failed engine/reference/commandline/cli.md download" && exit -1)
wget -O md_source/engine/deprecated.md https://raw.githubusercontent.com/docker/docker/"$ENGINE_BRANCH"/docs/deprecated.md || (echo "Failed engine/deprecated.md download" && exit -1)
wget -O md_source/registry/configuration.md https://raw.githubusercontent.com/docker/distribution/"$DISTRIBUTION_BRANCH"/docs/configuration.md || (echo "Failed registry/configuration.md download" && exit -1)

View File

@ -10,6 +10,7 @@ redirect_from:
- /installation/mac/
- /engine/installation/mac/
- /docker-for-mac/index/
- /docker-for-mac/osx/
title: Get started with Docker for Mac
toc_max: 4
toc_min: 1

View File

@ -48,7 +48,7 @@ Continue reading, or go straight to [API and CLI](#api-and-cli),
##### API and CLI
- Add [version 1.29](/engine/reference/api/v1.29/) of the Docker API.
- Add [version 1.29](/engine/api/v1.29/) of the Docker API.
- Add `--mount` flag to `docker run` and `docker create`
{% include github-pr.md pr="32251" %}
- Add the ability to specify `--type=secret` in `docker inspect`
@ -179,7 +179,7 @@ The following major features and changes are included in Docker CE Edge 17.04.
##### API and CLI
- Add [version 1.28](/engine/reference/api/v1.28/) of the Docker API.
- Add [version 1.28](/engine/api/v1.28/) of the Docker API.
- Add `--device-cgroup-rule` flag to give containers access to devices that appear
after the container is started. {% include github-pr.md pr="22563" %}