diff --git a/docs/reference/builder.md b/docs/reference/builder.md index 07e6e241cb..d5651db8ea 100644 --- a/docs/reference/builder.md +++ b/docs/reference/builder.md @@ -963,7 +963,7 @@ easily, for example with `docker inspect`. To set a label corresponding to the `MAINTAINER` field you could use: ```dockerfile -LABEL maintainer="SvenDowideit@home.org.au" +LABEL org.opencontainers.image.authors="SvenDowideit@home.org.au" ``` This will then be visible from `docker inspect` with the other labels. diff --git a/docs/reference/commandline/pull.md b/docs/reference/commandline/pull.md index 40cc99ff7d..7d02c356e6 100644 --- a/docs/reference/commandline/pull.md +++ b/docs/reference/commandline/pull.md @@ -160,7 +160,7 @@ Digest can also be used in the `FROM` of a Dockerfile, for example: ```dockerfile FROM ubuntu@sha256:45b23dee08af5e43a7fea6c4cf9c25ccf269ee113168c19722f87876677c5cb2 -LABEL maintainer="some maintainer " +LABEL org.opencontainers.image.authors="some maintainer " ``` > **Note** diff --git a/docs/reference/run.md b/docs/reference/run.md index 28c60b3f6c..d95b1a8aeb 100644 --- a/docs/reference/run.md +++ b/docs/reference/run.md @@ -587,7 +587,7 @@ $ docker inspect -f "{{ .State.StartedAt }}" my-container Combining `--restart` (restart policy) with the `--rm` (clean up) flag results in an error. On container restart, attached clients are disconnected. See the -examples on using the [`--rm` (clean up)](#clean-up-rm) flag later in this page. +examples on using the [`--rm` (clean up)](#clean-up---rm) flag later in this page. ### Examples diff --git a/man/src/image/pull.md b/man/src/image/pull.md index 3c9c9dd6b1..13d601e99f 100644 --- a/man/src/image/pull.md +++ b/man/src/image/pull.md @@ -111,7 +111,7 @@ pull the above image by digest, run the following command: Digest can also be used in the `FROM` of a Dockerfile, for example: FROM ubuntu@sha256:45b23dee08af5e43a7fea6c4cf9c25ccf269ee113168c19722f87876677c5cb2 - LABEL maintainer="some maintainer " + LABEL org.opencontainers.image.authors="some maintainer " > **Note**: Using this feature "pins" an image to a specific version in time. > Docker will therefore not pull updated versions of an image, which may include