-
Issue Type
Molecule and Ansible detailsansible --version && molecule --version Molecule installation method (one of):
Ansible installation method (one of):
Detail any linters or test runners used: Desired BehaviorWhen I use molecule to test roles in docker containers on a remote machine, I suppose my scenario will be executed on the remote docker specified via environment variable DOCKER_HOST. Actual BehaviourOn the converge step I currently faced with an error sounds like "msg: docker command not found in PATH". I don't have docker installed on my master host with molecule because I had configured remote docker daemon on a target host by tcp://0.0.0.0:2376. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Hi @pidumenk! Looking at the https://github.com/ansible-community/molecule-docker/blob/main/src/molecule_docker/playbooks/create.yml, I would say that things should work (and you can also see which env variables molecule uses as a source of the various docker-related pieces of data). Can you please post the error output here? It would be interesting to see which module actually fails. |
Beta Was this translation helpful? Give feedback.
-
According to this case, I've found a solution to use remote docker-daemon as I had mentioned before: just setting up community.docker.docker plugin in molecule.yml with additional parameters.
|
Beta Was this translation helpful? Give feedback.
According to this case, I've found a solution to use remote docker-daemon as I had mentioned before: just setting up community.docker.docker plugin in molecule.yml with additional parameters.