You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Molecule doesn't have any docker code. It simply uses the Ansible docker modules. Basically, if it works with Ansible's docker container it will work with Molecule. Ansible appears to require docker-py.
There used to be strict dependency on docker-py, I think, but now ansible works just fine with docker, at least version 2.5. Guess docs just haven't been updated yet.
I remember reading some GitHub issue about ansible's docker support, but wasn't able to find it again.
Found this one instead, though:
You can have either docker or docker-py installed to use our modules. docker is preferred at this point.
However, you cannot have both python libraries installed at the same time.
Issue Type
Molecule and Ansible details
Molecule installation method (one of):
Ansible installation method (one of):
Desired Behavior
http://molecule.readthedocs.io/en/latest/configuration.html#docker
The docker module docs seem to imply you have to install 'docker-py' in order for molecule to work.
'docker-py' is deprecated and has been replaced by the 'docker' pip module.
I was wondering what porting effort is required to drop 'docker-py' and use 'docker' instead?
I use molecule in a pex bundle with ansible, molecule, etc. I would prefer to include 'docker' instead of 'docker-py' in the pex bundle.
Thoughts?
The text was updated successfully, but these errors were encountered: