mirror of
https://github.com/ansible-collections/community.docker.git
synced 2025-12-16 11:58:43 +00:00
mac_address no longer works with Docker API v1.44+. (#764)
This commit is contained in:
parent
b2cee5677a
commit
648e0652d5
@ -524,6 +524,7 @@ options:
|
||||
mac_address:
|
||||
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.
|
||||
type: str
|
||||
memory:
|
||||
description:
|
||||
|
||||
@ -3010,6 +3010,8 @@ avoid such warnings, please quote the value.' in (log_options_2.warnings | defau
|
||||
## mac_address #####################################################
|
||||
####################################################################
|
||||
|
||||
- when: docker_api_version is version('1.44', '<')
|
||||
block:
|
||||
- name: mac_address
|
||||
docker_container:
|
||||
image: "{{ docker_test_image_alpine }}"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user