Document host-gateway. (#897)

This commit is contained in:
Felix Fontein 2024-06-28 17:03:32 +02:00 committed by GitHub
parent ace4ee4f70
commit 36dcb94b39
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 9 additions and 0 deletions

View File

@ -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:

View File

@ -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:

View File

@ -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: