Skip to content

Commit

Permalink
fix documentation for docker_container publish_ports option (#56093) (#…
Browse files Browse the repository at this point in the history
…56100)

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 5e74ecb)
  • Loading branch information
felixfontein authored and acozine committed May 6, 2019
1 parent f084305 commit 0829325
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/ansible/modules/cloud/docker/docker_container.py
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,6 @@
- "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
Expand Down

0 comments on commit 0829325

Please sign in to comment.