# Auto detection of Docker API version in docker and docker\_image modules

**URL:** <https://forum.ansible.com/t/auto-detection-of-docker-api-version-in-docker-and-docker-image-modules/18295>\
**Category:** Ansible Developer\
**Created:** [May 23, 2015, 8:54pm UTC](https://forum.ansible.com/t/auto-detection-of-docker-api-version-in-docker-and-docker-image-modules/18295 "2015-05-23T20:54:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrei\_Pashkin](https://avatars.discourse-cdn.com/v4/letter/a/a87d85/32.png) [@Andrei\_Pashkin](https://forum.ansible.com/u/Andrei_Pashkin)\
**Post date:** [May 23, 2015, 8:54pm UTC](https://forum.ansible.com/t/auto-detection-of-docker-api-version-in-docker-and-docker-image-modules/18295/1 "2015-05-23T20:54:32Z")

</div>

Currently, these modules require docker-py\>=0.3.0. But in version 1.1.0 docker-py gained option to auto detect API version [1].

I think Ansible can use it, if there is nothing that prevents to raise required version of docker-py

[1] [https://docker-py.readthedocs.org/en/latest/change\_log/](https://docker-py.readthedocs.org/en/latest/change_log/)
