The volumes need to be where docker is running. So yes, host directory should be on the remote node running docker.
On Monday, December 22, 2014 11:03:56 AM UTC-5, Lokesh Dokara wrote: > > Hi all, > > Docker volumes worked fine for me as long as I use ansible to run docker > on local system, but not working fine when I try to use ansible to run > docker on a remote node. My question is whether docker expects the host > directory in volumes option to be on system running ansible or the remote > node. I've got no results when I had host directory in remote node. > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/c7029ca8-5266-4e73-a994-f1b90a029eb2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
