docker run -p
Jump to navigation
Jump to search
docker run -p It will overwrite value defined byEXPOSE
inDockerfile
-p, --publish list Publish a container's port(s) to the host
-p --publish -P --publish-all Publish all exposed ports to random ports
docker run -p 9092:9092 apache/kafka:3.7.0
Related[edit]
See also[edit]
Advertising: