Did you install Docker-compose?
On Jun 7, 2016 9:05 AM, "mike hepburn" <[email protected]> wrote:
> hi greg - any idea why i would get this error when running
> ansible-container build from the test directory ?
>
> "ImportError: No module named docker.engine"
>
> tried this on ubuntu @ fedora - same issue.
>
> Cheers
> Mike
>
>
>
>> root@base:~/ansible-container/test# ansible-container --debug build
>>>
>>> No module named docker.engine
>>>
>>> Traceback (most recent call last):
>>>
>>> File
>>>> "/usr/local/lib/python2.7/dist-packages/ansible_container-0.1-py2.7.egg/container/cli.py",
>>>> line 164, in commandline
>>>
>>> **vars(args))
>>>
>>> File
>>>> "/usr/local/lib/python2.7/dist-packages/ansible_container-0.1-py2.7.egg/container/engine.py",
>>>> line 210, in cmdrun_build
>>>
>>> engine_obj = load_engine(engine, base_path)
>>>
>>> File
>>>> "/usr/local/lib/python2.7/dist-packages/ansible_container-0.1-py2.7.egg/container/utils.py",
>>>> line 113, in load_engine
>>>
>>> mod = importlib.import_module('container.%s.engine' % engine_name)
>>>
>>> File "/usr/lib/python2.7/importlib/__init__.py", line 37, in
>>>> import_module
>>>
>>> __import__(name)
>>>
>>> ImportError: No module named docker.engine
>>>
>>>
>
>
>> root@base:~/ansible-container/test# docker-compose -v
>>>
>>> docker-compose version 1.7.1, build 6c29830
>>>
>>> root@base:~/ansible-container/test#
>>>
>>>
>>> --
> 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/cfcebfdd-81f8-4b7d-af0a-6fb1f4d33cd2%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/cfcebfdd-81f8-4b7d-af0a-6fb1f4d33cd2%40googlegroups.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/CAM1FbhHS6QZRYp6vdhugYDAmnpD6qAxhXyfmUQY3YT-NCcaMbg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.