docker_container: warn if ipvX_address is used for networks but not supported by docker-py (#47395)

* Only add parameters which are actually used.

* Fail if ipvX_address is used when not supported.

* Added changelog.
This commit is contained in:
Felix Fontein
2018-10-23 08:52:08 +02:00
committed by John R Barker
parent 3afdb28209
commit 4ffe3b14d4
2 changed files with 16 additions and 6 deletions

View File

@@ -0,0 +1,2 @@
bugfixes:
- "docker_container - fail if ``ipv4_address`` or ``ipv6_address`` is used with a too old docker-py version."