Difference between revisions of "EXPOSE"
Jump to navigation
Jump to search
Line 15: | Line 15: | ||
* [[docker compose port]] | * [[docker compose port]] | ||
* [[portMappings =]] | * [[portMappings =]] | ||
− | * [[Docker compose]] | + | * [[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: