molecule-docker

Molecule aids in the development and testing of Ansible roles


Keywords
ansible, docker, testing, molecule, ansible-devtools, molecule-driver
License
MIT
Install
pip install molecule-docker==1.0.1

Documentation

Molecule Docker Plugin

PyPI Package Python Black Code Style Repository License

Molecule Docker Plugin is designed to allow use docker containers for provisioning test resources.

Please note that this driver is currently in its early stage of development.

This plugin will function only if you also install community.docker ansible collection. Keep in mind that this requires newer version of docker python module which may not come with system-packaged versions of ansible like Ubuntu ones.

Please do not file bugs towards molecule or this plugin if Ansible fails to execute any docker modules (missing or incorrect versions of docker or requests python modules). Instead file them on community.docker.

Get Involved

FAQ

Q: How can I use Docker Context?

A: molecule-docker depends directly on community.docker.docker_container. Currently, Docker Context is not supported, but as a workaround, docker_host in community.docker.docker_container can be used to connect to the Docker API.

License

The MIT License.

The logo is licensed under the Creative Commons NoDerivatives 4.0 License.

If you have some other use in mind, contact us.