Rename official repos to official images

This commit is contained in:
Jeffrey Morgan
2018-11-21 15:19:50 -05:00
parent dacad06fbd
commit c0656fa7fa
12 changed files with 271 additions and 60 deletions

View File

@@ -119,4 +119,4 @@ There are lots more resources available to help you write your `Dockerfile`.
* There's a [complete guide to all the instructions](/engine/reference/builder.md) available for use in a `Dockerfile` in the reference section.
* To help you write a clear, readable, maintainable `Dockerfile`, we've also
written a [`Dockerfile` best practices guide](dockerfile_best-practices.md).
* If your goal is to create a new Official Repository, be sure to read up on Docker's [Official Repositories](/docker-hub/official_repos/).
* If your goal is to create a new Official Image, be sure to read up on Docker's [Official Images](/docker-hub/official_images/).

View File

@@ -1,6 +1,6 @@
---
description: Hints, tips and guidelines for writing clean, reliable Dockerfiles
keywords: parent image, images, dockerfile, best practices, hub, official repo
keywords: parent image, images, dockerfile, best practices, hub, official image
redirect_from:
- /articles/dockerfile_best-practices/
- /engine/articles/dockerfile_best-practices/
@@ -291,7 +291,7 @@ maintainable `Dockerfile`.
[Dockerfile reference for the FROM instruction](/engine/reference/builder.md#from)
Whenever possible, use current official repositories as the basis for your
Whenever possible, use current official images as the basis for your
images. We recommend the [Alpine image](https://hub.docker.com/_/alpine/) as it
is tightly controlled and small in size (currently under 5 MB), while still
being a full Linux distribution.
@@ -766,9 +766,9 @@ fails catastrophically if the new build's context is missing the resource being
added. Adding a separate tag, as recommended above, helps mitigate this by
allowing the `Dockerfile` author to make a choice.
## Examples for Official Repositories
## Examples for Official Images
These Official Repositories have exemplary `Dockerfile`s:
These Official Images have exemplary `Dockerfile`s:
* [Go](https://hub.docker.com/_/golang/)
* [Perl](https://hub.docker.com/_/perl/)
@@ -780,4 +780,4 @@ These Official Repositories have exemplary `Dockerfile`s:
* [Dockerfile Reference](/engine/reference/builder.md)
* [More about Base Images](baseimages.md)
* [More about Automated Builds](/docker-hub/builds/)
* [Guidelines for Creating Official Repositories](/docker-hub/official_repos/)
* [Guidelines for Creating Official Images](/docker-hub/official_images/)