The documentation for the docker_container publish_ports options
erroneously stated that container ports must be "exposed" in order to
be "published".
(cherry picked from commit 5e74ecb4fdce1356c089def82cd1ac8610778969)
... | ... |
@@ -486,7 +486,6 @@ options: |
486 | 486 |
- "Bind addresses must be either IPv4 or IPv6 addresses. Hostnames are I(not) allowed. This |
487 | 487 |
is different from the C(docker) command line utility. Use the L(dig lookup,../lookup/dig.html) |
488 | 488 |
to resolve hostnames." |
489 |
- - Container ports must be exposed either in the Dockerfile or via the C(expose) option. |
|
490 | 489 |
- A value of C(all) will publish all exposed container ports to random host ports, ignoring |
491 | 490 |
any other mappings. |
492 | 491 |
- If C(networks) parameter is provided, will inspect each network to see if there exists |