Hi Laurent,

The Docker module requires the Docker python client.  Run:

pip install docker-py


On Mon, Jun 23, 2014 at 4:10 PM, Laurent PETIT <[email protected]>
wrote:

> Hello,
>
> On my OSX box, I'm unable to call the docker command from the docker
> module.
>
> I tried to install docker both from homebrew, and then deinstall and
> install from pip.
>
> Both times, I get this error:
>
> failed: [docker2] => (item={'subdomain': 'xxx', 'http': 39003, 'https':
> 39005, 'docker_image': 'docker-registry.xxx.com/my-img'}) => {"failed":
> true, "item": {"docker_image": "docker-registry.xxx.com/my-img", "http":
> 39003, "https": 39005, "subdomain": "xxx"}, "parsed": false}
> invalid output was: Traceback (most recent call last):
>   File
> "/home/my-user/.ansible/tmp/ansible-tmp-1403557661.52-85899692189810/docker",
> line 312, in <module>
>     from docker.client import APIError as DockerAPIError
> ImportError: No module named docker.client
>
> Do you have any idea what is wrong with that?
>
> Ansible version on my server maybe ?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/CAKVVxfoQSqi0QAV0fjwPmC4-eZdkg_wBTN28PB6wjxQjuUCX1g%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CAKVVxfoQSqi0QAV0fjwPmC4-eZdkg_wBTN28PB6wjxQjuUCX1g%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAK6JQEHsB8F04fO66Fx%3DD-qB8mSwDy5kkBoJerGqubAfiCq%2BVg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to