I installed docker-py on my Centos host like this:
$ sudo yum install python27-pip
and
$ sudo pip install docker-py
Then when I run an ansible playbook containing a “docker_container” task, it responds with:
FAILED! => {“changed”: false, “failed”: true, “msg”: “Error: docker-py version is 1.10.3. Minimum version required is 1.7.0.”}
Bug in version comparison where it thinks 1.10 < 1.7 ? Workaround/fixes?
ansible 2.1.1.0
Thanks,
Andrew