Set minimal Docker API version for chdir to 1.35. (#253)

This commit is contained in:
Felix Fontein 2021-12-22 17:14:08 +01:00 committed by GitHub
parent 4916e08376
commit 5a23c4d336
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -0,0 +1,2 @@
bugfixes:
- "docker_container_exec - disallow using the ``chdir`` option for Docker API before 1.35 (https://github.com/ansible-collections/community.docker/pull/253)."

View File

@ -164,7 +164,7 @@ def main():
)
option_minimal_versions = dict(
chdir=dict(docker_py_version='3.0.0'),
chdir=dict(docker_py_version='3.0.0', docker_api_version='1.35'),
)
client = AnsibleDockerClient(