Difference between revisions of "EXPOSE"
Jump to navigation
Jump to search
(9 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
https://docs.docker.com/engine/reference/builder/#expose | 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 -p]] </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: