mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00: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:
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
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user