updating docs for EXPOSE option on run command; fixes #16634

Signed-off-by: Mike Brown <brownwm@us.ibm.com>
This commit is contained in:
Mike Brown
2015-10-12 16:59:25 -05:00
parent 96965e2abd
commit d955fdb9ac
3 changed files with 14 additions and 13 deletions
+1 -1
View File
@@ -185,7 +185,7 @@ A Dockerfile is similar to a Makefile.
-- `EXPOSE <port> [<port>...]`
The **EXPOSE** instruction informs Docker that the container listens on the
specified network ports at runtime. Docker uses this information to
interconnect containers using links, and to set up port redirection on the host
interconnect containers using links and to set up port redirection on the host
system.
**ENV**
+4 -1
View File
@@ -223,7 +223,10 @@ ENTRYPOINT.
Read in a line delimited file of environment variables
**--expose**=[]
Expose a port, or a range of ports (e.g. --expose=3300-3310), from the container without publishing it to your host
Expose a port, or a range of ports (e.g. --expose=3300-3310) informs Docker
that the container listens on the specified network ports at runtime. Docker
uses this information to interconnect containers using links and to set up port
redirection on the host system.
**--group-add**=[]
Add additional groups to run as