diff --git a/website/source/docs/builders/docker.html.md b/website/source/docs/builders/docker.html.md index 37fb5c553..842d316a3 100644 --- a/website/source/docs/builders/docker.html.md +++ b/website/source/docs/builders/docker.html.md @@ -74,6 +74,7 @@ Example uses of all of the options, assuming one is building an NGINX image from "ENV HOSTNAME www.example.com", "VOLUME /test1 /test2", "EXPOSE 80 443", + "LABEL version=1.0", "CMD [\"nginx\", \"-g\", \"daemon off;\"]", "MAINTAINER Captain Kirk", "ENTRYPOINT /var/www/start.sh" @@ -96,6 +97,9 @@ Allowed metadata fields that can be changed are: - EXPOSE - String, space separated ports - EX: `"EXPOSE 80 443"` +- LABEL + - String, space separated key=value pairs + - EX: `"LABEL version=1.0"` - MAINTAINER - String, deprecated in Docker version 1.13.0 - EX: `"MAINTAINER NAME"`