`molecule create` fails with `Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?`
IntermediateTroubleshootingCloud, AWX, Windows and Molecule
Answer
Likely causes → Docker is not running, the user is not in the docker group (on Linux), or the machine only has Podman and the scenario uses the Docker driver.
Diagnose → docker info, id -nG | grep docker, systemctl status docker.
Fix → Start Docker and add the user to the group (sudo usermod -aG docker $USER, then log in again), or switch the scenario to Podman (driver: name: podman) with molecule-plugins[podman].
Prevent → Document the driver in the repo and provide a dev container with Docker and Molecule preinstalled.
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