`Failed to find driver docker. Please ensure that the driver is correctly installed.` after upgrading Molecule
IntermediateTroubleshootingCloud, AWX, Windows and Molecule
Answer
Likely causes → The drivers were split out of Molecule core. The old molecule-docker package is replaced by molecule-plugins[docker], and a fresh virtualenv has only the built-in default (delegated) driver.
Diagnose → molecule drivers, pip list | grep -i molecule.
Fix →
pip install "molecule" "molecule-plugins[docker]" docker
Also install the community.docker collection, which the driver's create and destroy playbooks use.
Prevent → Pin molecule, molecule-plugins, ansible-core and ansible-lint in requirements-dev.txt.
More on Cloud, AWX, Windows and Molecule
`Failed to import the required Python library (botocore and boto3) on web01's Python /usr/bin/python3.`Beginner`[WARNING]: * Failed to parse inventory/aws.yml with auto plugin: inventory source 'inventory/aws.yml' could not be verified by inventory plugin 'amazon.aws.aws_ec2'`IntermediateThe `aws_ec2` inventory parses without errors but returns zero hostsIntermediate`Failed to describe instances: An error occurred (UnauthorizedOperation) when calling the DescribeInstances operation` or `(ExpiredToken)`IntermediateDynamic inventory finds the instances, but every host is `UNREACHABLE`IntermediateUsing the SSM connection plugin fails with `SessionManagerPlugin is not found` or hangs on file transferAdvanced