Add LABEL field to acceptable metadata list
Signed-off-by: Sönmez Kartal <szkl89@gmail.com>
This commit is contained in:
parent
1d66ecf0f8
commit
56ec046fe5
|
@ -74,6 +74,7 @@ Example uses of all of the options, assuming one is building an NGINX image from
|
||||||
"ENV HOSTNAME www.example.com",
|
"ENV HOSTNAME www.example.com",
|
||||||
"VOLUME /test1 /test2",
|
"VOLUME /test1 /test2",
|
||||||
"EXPOSE 80 443",
|
"EXPOSE 80 443",
|
||||||
|
"LABEL version=1.0",
|
||||||
"CMD [\"nginx\", \"-g\", \"daemon off;\"]",
|
"CMD [\"nginx\", \"-g\", \"daemon off;\"]",
|
||||||
"MAINTAINER Captain Kirk",
|
"MAINTAINER Captain Kirk",
|
||||||
"ENTRYPOINT /var/www/start.sh"
|
"ENTRYPOINT /var/www/start.sh"
|
||||||
|
@ -96,6 +97,9 @@ Allowed metadata fields that can be changed are:
|
||||||
- EXPOSE
|
- EXPOSE
|
||||||
- String, space separated ports
|
- String, space separated ports
|
||||||
- EX: `"EXPOSE 80 443"`
|
- EX: `"EXPOSE 80 443"`
|
||||||
|
- LABEL
|
||||||
|
- String, space separated key=value pairs
|
||||||
|
- EX: `"LABEL version=1.0"`
|
||||||
- MAINTAINER
|
- MAINTAINER
|
||||||
- String, deprecated in Docker version 1.13.0
|
- String, deprecated in Docker version 1.13.0
|
||||||
- EX: `"MAINTAINER NAME"`
|
- EX: `"MAINTAINER NAME"`
|
||||||
|
|
Loading…
Reference in New Issue