docker run
docker-compose.yml
Was this section helpful?
EXPOSE
instruction in a Dockerfile, clarifying its role as metadata for port documentation.--publish
(-p
) flag for docker run
, showing how to map host ports to container ports for external access.0.0.0.0
within containers.