From aa4cb24739a12d82c46eddc8c365c72988fbf8f3 Mon Sep 17 00:00:00 2001 From: Charlotte Mach Date: Fri, 23 Oct 2020 19:45:28 +0200 Subject: [PATCH] Replace deprecated instruction MAINTAINER is deprecated, replacing with LABEL as recommended by https://docs.docker.com/engine/reference/builder/#maintainer-deprecated Signed-off-by: Charlotte Mach --- docs/reference/commandline/pull.md | 2 +- man/src/image/pull.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/commandline/pull.md b/docs/reference/commandline/pull.md index 96bafcd147..40cc99ff7d 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 -MAINTAINER some maintainer +LABEL maintainer="some maintainer " ``` > **Note** diff --git a/man/src/image/pull.md b/man/src/image/pull.md index 73f641f727..3c9c9dd6b1 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 - MAINTAINER some maintainer + LABEL maintainer="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