# docker\_images module push does not work

**URL:** <https://forum.ansible.com/t/docker-images-module-push-does-not-work/22087>\
**Category:** Ansible Project\
**Created:** [July 22, 2016, 12:35pm UTC](https://forum.ansible.com/t/docker-images-module-push-does-not-work/22087 "2016-07-22T12:35:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wei\_Wei](https://avatars.discourse-cdn.com/v4/letter/w/4da419/32.png) [@Wei\_Wei](https://forum.ansible.com/u/Wei_Wei)\
**Post date:** [July 22, 2016, 12:35pm UTC](https://forum.ansible.com/t/docker-images-module-push-does-not-work/22087/1 "2016-07-22T12:35:24Z")

</div>

From the docs I read:

```auto
- name: Build an image ad push it to a private repo
  docker_image:
    path: ./sinatra
    name: registry.ansible.com/chouseknecht/sinatra
    tag: v1

```

but when I tried to build an image, I saw it not pushing to a private repo. Am I misunderstanding something?

Thanks!
