In order to have an almost complete and useable system to test your roles and playbook with Docker, add the following
lines in your molecule/docker/molecule.yml
:
platforms:
- name: 'target'
image: '${MOLECULE_LINUX_DISTRIBUTION:-geerlingguy/docker-debian10-ansible:latest}'
command: ""
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
privileged: True
pre_build_image: True
Explanations: