Add networks[].mac_address option. (#763)

This commit is contained in:
Felix Fontein
2024-01-20 14:23:12 +01:00
committed by GitHub
parent 37d0a44c0b
commit fcf608b334
5 changed files with 37 additions and 3 deletions
+7
View File
@@ -525,6 +525,7 @@ options:
description:
- Container MAC address (for example, V(92:d0:c6:0a:29:33)).
- Note that the global container-wide MAC address is deprecated and no longer used since Docker API version 1.44.
- Use O(networks[].mac_address) instead.
type: str
memory:
description:
@@ -690,6 +691,12 @@ options:
can be used in the network to reach this container.
type: list
elements: str
mac_address:
description:
- Endpoint MAC address (for example, V(92:d0:c6:0a:29:33)).
- This is only available for Docker API version 1.44 and later.
type: str
version_added: 3.6.0
networks_cli_compatible:
description:
- "If O(networks_cli_compatible=true) (default), this module will behave as