Receiving an error for docker-py when attempting to build a docker image.

178 views
Skip to first unread message

kylet...@gmail.com

unread,
Jan 3, 2017, 8:26:59 PM1/3/17
to Ansible Project
I receive the appended error when I use the following ansible command:

docker_image: path=./docker name=url\container:v7.2.4 tag=7.2.4 push=yes

fatal: [jira-1.corp.inbaytech.com]: FAILED! => {"changed": false, "failed": true, "msg": "Failed to import docker-py - No module named requests.exceptions. Try `pip install docker-py`"}

Johannes Kastl

unread,
Jan 6, 2017, 2:47:54 AM1/6/17
to ansible...@googlegroups.com
On 03.01.17 20:33 kylet...@gmail.com wrote:

> true, "msg": "Failed to import docker-py - No module named
> requests.exceptions. Try `pip install docker-py`"}

And did you install docker-py?

Johannes


signature.asc
Reply all
Reply to author
Forward
0 new messages