Difference between revisions of "Docker run -p"
Jump to navigation
Jump to search
Line 13: | Line 13: | ||
* <code>[[--network]]</code> | * <code>[[--network]]</code> | ||
* [[ECS]]: <code>[[containerDefinitions]]</code> | * [[ECS]]: <code>[[containerDefinitions]]</code> | ||
+ | * [[docker run -d]] | ||
== See also == | == See also == |
Revision as of 21:04, 6 February 2024
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
Related
See also
Advertising: