Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Commit 406cc5e

Browse files
charlottemachthaJeztah
authored andcommitted
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 <charlotte.mach@fs.lmu.de> (cherry picked from commit aa4cb24739a12d82c46eddc8c365c72988fbf8f3) Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: 01fc5a1ec3349b2ea6b7e1f0a335a7e901ab6cd1 Component: cli
1 parent 7d6f21c commit 406cc5e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

components/cli/docs/reference/commandline/pull.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ Digest can also be used in the `FROM` of a Dockerfile, for example:
160160

161161
```dockerfile
162162
FROM ubuntu@sha256:45b23dee08af5e43a7fea6c4cf9c25ccf269ee113168c19722f87876677c5cb2
163-
MAINTAINER some maintainer <maintainer@example.com>
163+
LABEL maintainer="some maintainer <maintainer@example.com>"
164164
```
165165

166166
> **Note**

components/cli/man/src/image/pull.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ pull the above image by digest, run the following command:
111111
Digest can also be used in the `FROM` of a Dockerfile, for example:
112112

113113
FROM ubuntu@sha256:45b23dee08af5e43a7fea6c4cf9c25ccf269ee113168c19722f87876677c5cb2
114-
MAINTAINER some maintainer <maintainer@example.com>
114+
LABEL maintainer="some maintainer <maintainer@example.com>"
115115

116116
> **Note**: Using this feature "pins" an image to a specific version in time.
117117
> Docker will therefore not pull updated versions of an image, which may include

0 commit comments

Comments
 (0)