# Building docker images with ansible

**URL:** <https://forum.ansible.com/t/building-docker-images-with-ansible/15906>\
**Category:** Ansible Project\
**Created:** [August 11, 2014, 6:58am UTC](https://forum.ansible.com/t/building-docker-images-with-ansible/15906 "2014-08-11T06:58:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Victor\_Lin](https://avatars.discourse-cdn.com/v4/letter/v/87869e/32.png) [@Victor\_Lin](https://forum.ansible.com/u/Victor_Lin)\
**Post date:** [August 11, 2014, 6:58am UTC](https://forum.ansible.com/t/building-docker-images-with-ansible/15906/1 "2014-08-11T06:58:19Z")

</div>

I have been using ansible for building and deploying docker images for a while. Surprisingly I felt this is a really nice solution for leveraging docker, so I wrote an article about it, you can read it here:

[http://victorlin.me/posts/2014/08/11/building-docker-image-with-ansible](http://victorlin.me/posts/2014/08/11/building-docker-image-with-ansible)

Not only for building docker image, I think it’s also possible to build other kind of software with ansible. Anyway, just want to share some of thoughts, hope this could be helpful somehow.

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan1](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Post date:** [August 11, 2014, 12:31pm UTC](https://forum.ansible.com/t/building-docker-images-with-ansible/15906/2 "2014-08-11T12:31:01Z")

</div>

Thanks for the blog post!

Here’s an early article I wrote too that folks may find interesting on the same subject:

[http://www.ansible.com/blog/2014/02/12/installing-and-building-docker-with-ansible](http://www.ansible.com/blog/2014/02/12/installing-and-building-docker-with-ansible)

We’re considering building a nice wrapper to make some of this a bit easier, and require some degrees less of boilerplate.
