Sensu's fork of the Molecule Docker Plugin, designed to allow use of docker containers for provisioning test resources in Ansible Molecule.
This is a customized version of the original ansible-community/molecule-docker plugin, maintained by Sensu for internal use and enhanced functionality.
Install from source:
pip install -e .
Or install with dependencies:
pip install -r requirements.txt
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.
- Join the Sensu community on Discord.
- Check out the Sensu Community Forum.
- Contribute to this project by opening issues and pull requests.
- For Sensu-specific support, visit the Sensu Support Portal.
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.
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.