Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

dockerfile EXPOSE

# It does not publish the container's port, but DOCUMENTS the
# ports the container is listening to...

EXPOSE <port> [<port>/<protocol>...]
Source by docs.docker.com #
 
PREVIOUS NEXT
Tagged: #dockerfile #EXPOSE
ADD COMMENT
Topic
Name
4+7 =