mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-03-15 19:58:28 +00:00
Document host-gateway. (#897)
This commit is contained in:
parent
ace4ee4f70
commit
36dcb94b39
@ -340,6 +340,9 @@ options:
|
||||
description:
|
||||
- Dict of host-to-IP mappings, where each host name is a key in the dictionary.
|
||||
Each host name will be added to the container's C(/etc/hosts) file.
|
||||
- Instead of an IP address, the special value V(host-gateway) can also be used, which
|
||||
resolves to the host's gateway IP and allows containers to connect to services running
|
||||
on the host.
|
||||
type: dict
|
||||
exposed_ports:
|
||||
description:
|
||||
|
||||
@ -100,6 +100,9 @@ options:
|
||||
etc_hosts:
|
||||
description:
|
||||
- Extra hosts to add to C(/etc/hosts) in building containers, as a mapping of hostname to IP address.
|
||||
- Instead of an IP address, the special value V(host-gateway) can also be used, which
|
||||
resolves to the host's gateway IP and allows building containers to connect to services running
|
||||
on the host.
|
||||
type: dict
|
||||
args:
|
||||
description:
|
||||
|
||||
@ -79,6 +79,9 @@ options:
|
||||
etc_hosts:
|
||||
description:
|
||||
- Extra hosts to add to C(/etc/hosts) in building containers, as a mapping of hostname to IP address.
|
||||
- Instead of an IP address, the special value V(host-gateway) can also be used, which
|
||||
resolves to the host's gateway IP and allows building containers to connect to services running
|
||||
on the host.
|
||||
type: dict
|
||||
args:
|
||||
description:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user