title: Can Ansible deploy Docker containers remotely?
body: <p>I understand that Ansible is used to automate the provisioning / configuration of remote servers, typically over SSH.</p>
  
  <p>However, this document states ..</p>
  
  <p><a href="http://docs.ansible.com/ansible/intro_inventory.html#non-ssh-connection-types" rel="nofollow noreferrer">http://docs.ansible.com/ansible/intro_inventory.html#non-ssh-connection-types</a></p>
  
  <blockquote>
    <p>docker - This connector deploys the playbook directly into Docker containers using the local Docker client.</p>
  </blockquote>
  
  <p>My question is ... can Ansible create and provision a Docker container on a remote machine or only on the machine on which Ansible is running (namely the controller machine)?</p>
  
  <p>Any tips or any good links greatly appreciated.</p>