Does Ansible upload directories and files co-located with Dockerfile?

23 views
Skip to first unread message

Bk Lau

unread,
Sep 23, 2014, 8:43:06 AM9/23/14
to ansible...@googlegroups.com
Hi:

docker_image module:
Q: Does Ansible upload any directories and files co-located with the Dockerfile it is building the image for?.

Thanks,
BK

Michael DeHaan

unread,
Sep 23, 2014, 3:25:27 PM9/23/14
to ansible...@googlegroups.com
Not really.  Docker was pretty emergent when this was written (and still is to a large degree).

aside -- Ultimately, I'm not sure if the docker_image module for ansible makes sense long term, as it seems the common build case would be either a DockerHub hook or Jenkins triggering the docker build.

Having the docker module to pull and set containers running makes sense to me, but this one always felt weird, as does ec2_ami.




--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/c3dc6140-24cb-46d6-a932-5e257376bed8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Toshio Kuratomi

unread,
Sep 23, 2014, 3:26:46 PM9/23/14
to ansible...@googlegroups.com
If you mean, docker hub integration, at the moment it does not.  Right now, the docker_image module doesn't communicate with docker hub at all.  I've just asked over on the devel list if we might want to push code that downloads from docker hub into the docker_image module.  However, that wouldn't address uploading (I don't believe there's currently any ansible code that uploads to dockerhub).  Adding some would likely be welcome although we should definitely discuss on the devel list what that would look like and where it should live.

-Toshio

On Tue, Sep 23, 2014 at 8:43 AM, Bk Lau <bkla...@gmail.com> wrote:

--
Reply all
Reply to author
Forward
0 new messages