fix documentation for docker_container publish_ports option (#56093)

The documentation for the docker_container publish_ports options
erroneously stated that container ports must be "exposed" in order to
be "published".
pull/56102/head
Lars Kellogg-Stedman 6 years ago committed by ansibot
parent f692261ea0
commit 5e74ecb4fd

@ -486,7 +486,6 @@ options:
- "Bind addresses must be either IPv4 or IPv6 addresses. Hostnames are I(not) allowed. This - "Bind addresses must be either IPv4 or IPv6 addresses. Hostnames are I(not) allowed. This
is different from the C(docker) command line utility. Use the L(dig lookup,../lookup/dig.html) is different from the C(docker) command line utility. Use the L(dig lookup,../lookup/dig.html)
to resolve hostnames." to resolve hostnames."
- Container ports must be exposed either in the Dockerfile or via the C(expose) option.
- A value of C(all) will publish all exposed container ports to random host ports, ignoring - A value of C(all) will publish all exposed container ports to random host ports, ignoring
any other mappings. any other mappings.
- If C(networks) parameter is provided, will inspect each network to see if there exists - If C(networks) parameter is provided, will inspect each network to see if there exists

Loading…
Cancel
Save