Skip to main content

Molecule aids in the development and testing of Ansible roles

Project description

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


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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

molecule-docker-2.1.0.tar.gz (22.2 kB view hashes)

Uploaded source

Built Distribution

molecule_docker-2.1.0-py3-none-any.whl (18.4 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page