How do I test an Ansible role that creates Docker Containers

59 views
Skip to first unread message

Daniel Bacher

unread,
Jan 20, 2020, 9:31:21 AM1/20/20
to molecule-users
Hello,

i am currently working on an ansible role that creates and configures traefik as a docker container.

Currently I have configured molecule with the Docker provider, but I realized that Docker in Docker is a bad idea.

For example tests for open sockets fail because they are opened on the host machine and not in the molecule container.

How can I configure molecule if I want to run my tests on Travis and locally.

Regards

Daniel Bacher

Reply all
Reply to author
Forward
0 new messages