Difference between revisions of "EXPOSE"
Jump to navigation
Jump to search
(4 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
EXPOSE 80/tcp | EXPOSE 80/tcp | ||
EXPOSE 80/tcp | EXPOSE 80/tcp | ||
+ | |||
+ | EXPOSE 3000 80 443 22 | ||
== Related == | == Related == | ||
Line 8: | 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]] | ||
+ | * [[docker compose port]] | ||
* [[portMappings =]] | * [[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: