1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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".
This commit is contained in:
Lars Kellogg-Stedman 2019-05-05 06:24:33 -04:00 committed by ansibot
parent f692261ea0
commit 5e74ecb4fd

View file

@ -486,7 +486,6 @@ options:
- "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)
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
any other mappings.
- If C(networks) parameter is provided, will inspect each network to see if there exists