Difference between revisions of "EXPOSE"
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
* <code>[[docker build]] </code> | * <code>[[docker build]] </code> | ||
* <code>[[docker run -p]] </code> | * <code>[[docker run -p]] </code> | ||
+ | * <code>[[docker run --publish]]</code> | ||
* <code>[[expose:]]</code> | * <code>[[expose:]]</code> | ||
* [[docker port]] | * [[docker port]] |
Revision as of 13:53, 31 January 2024
https://docs.docker.com/engine/reference/builder/#expose
EXPOSE 80/tcp EXPOSE 80/tcp
EXPOSE 3000 80 443 22
Related
See also
Dockerfile: FROM, RUN, CMD, ENTRYPOINT, WORKDIR, COPY, ADD, USER, ENV, ARG, HEALTHCHECK
,hadolint, LABEL, EXPOSE
Advertising: