# Ansible molecule and docker

**URL:** <https://forum.ansible.com/t/ansible-molecule-and-docker/31850>\
**Category:** Ansible Project\
**Created:** [December 19, 2019, 10:56am UTC](https://forum.ansible.com/t/ansible-molecule-and-docker/31850 "2019-12-19T10:56:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bruno\_Cochofel](https://avatars.discourse-cdn.com/v4/letter/b/4da419/32.png) [@Bruno\_Cochofel](https://forum.ansible.com/u/Bruno_Cochofel)\
**Post date:** [December 19, 2019, 10:56am UTC](https://forum.ansible.com/t/ansible-molecule-and-docker/31850/1 "2019-12-19T10:56:58Z")

</div>

Hi, I’m creating roles and because of some limitations running the tests under docker I was thinking of checking if it’s running on docker and adapt.

How can I do this?

Thanks,  
Bruno
