MAINTAINER
field DOK-DL40002
3FROM nginx
4COPY . /usr/share/nginx/html
5MAINTAINER willtheorangeguy
The MAINTAINER
instruction sets the Author
field of the generated images.
MAINTAINER
is deprecated since Docker 1.13.0.
In case you need similar functionality consider using a LABEL
.
The LABEL
instruction is a much more flexible version of MAINTAINER
,
as it enables setting any metadata you require, and can be viewed easily,
for example with docker inspect
.
FROM debian:buster
MAINTAINER John Doe <[email protected]>
FROM debian:buster
LABEL org.opencontainers.image.authors="[email protected]"
This will then be visible from docker inspect
with the other labels.