Docker Ansible Simple Docker Alpine image with Ansible. To run the container with Ansible playbook mounted, run the following command: docker run -it -v /<path_to_playbooks_on_host>:/playbooks <image_name>