ansible-container-examples icon indicating copy to clipboard operation
ansible-container-examples copied to clipboard

Even the examples fail

Open bmcgair opened this issue 8 years ago • 1 comments

Building Docker Engine context... Starting Docker build of Ansible Container Conductor image (please be patient)... ERROR Unknown exception Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/container/cli.py", line 299, in call getattr(core, u'hostcmd_{}'.format(args.subcommand))(**vars(args)) File "/usr/local/lib/python2.7/site-packages/container/init.py", line 28, in wrapped return fn(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/container/core.py", line 181, in hostcmd_build environment=env_vars File "/usr/local/lib/python2.7/site-packages/container/docker/engine.py", line 105, in wrapped return fn(self, *args, **kwargs) File "/usr/local/lib/python2.7/site-packages/container/init.py", line 28, in wrapped return fn(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/container/docker/engine.py", line 1070, in build_conductor_image return image.id AttributeError: 'tuple' object has no attribute 'id'

bmcgair avatar Feb 01 '18 23:02 bmcgair

Ran into this as well, and it was sorta documented on the main repo, but you'll have to install a version of docker-py less than 3.0.0

sudo pip install docker==2.7.0

https://github.com/ansible/ansible-container/pull/870

superscott avatar Feb 07 '18 01:02 superscott