mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-07-29 03:46:55 +00:00
Document host-gateway. (#897)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user