Difference between revisions of "EXPOSE"
Jump to navigation
Jump to search
(Created page with " == Related == * EXPOSE * <code>docker build</code> == See also == * {{Dockerfile}} Category:Docker") |
|||
(11 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
+ | https://docs.docker.com/engine/reference/builder/#expose | ||
+ | EXPOSE 80/tcp | ||
+ | EXPOSE 80/tcp | ||
+ | |||
+ | EXPOSE 3000 80 443 22 | ||
== Related == | == Related == | ||
* [[EXPOSE]] | * [[EXPOSE]] | ||
− | * <code>[[docker build]]</code> | + | * <code>[[docker build]] </code> |
+ | * <code>[[docker run -p]] </code> | ||
+ | * <code>[[docker run --publish]]</code> | ||
+ | * <code>[[expose:]]</code> | ||
+ | * [[docker port]] | ||
+ | * [[docker compose port]] | ||
+ | * [[portMappings =]] | ||
+ | * [[Docker compose]] https://docs.docker.com/compose/compose-file/compose-file-v3/#expose | ||
== See also == | == See also == |
Latest revision as of 09:29, 21 April 2024
https://docs.docker.com/engine/reference/builder/#expose
EXPOSE 80/tcp EXPOSE 80/tcp
EXPOSE 3000 80 443 22
Related[edit]
- EXPOSE
docker build
docker run -p
docker run --publish
expose:
- docker port
- docker compose port
- portMappings =
- Docker compose https://docs.docker.com/compose/compose-file/compose-file-v3/#expose
See also[edit]
Dockerfile: FROM, RUN, CMD, ENTRYPOINT, WORKDIR, COPY, ADD, USER, ENV, ARG, HEALTHCHECK
,hadolint, LABEL, EXPOSE
Advertising: