# docker\_service fails to bring up docker-compose.yml when image has a tag?

**URL:** <https://forum.ansible.com/t/docker-service-fails-to-bring-up-docker-compose-yml-when-image-has-a-tag/23384>\
**Category:** Ansible Project\
**Created:** [January 5, 2017, 12:27am UTC](https://forum.ansible.com/t/docker-service-fails-to-bring-up-docker-compose-yml-when-image-has-a-tag/23384 "2017-01-05T00:27:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gerald\_Spencer1](https://avatars.discourse-cdn.com/v4/letter/g/b782af/32.png) [@Gerald\_Spencer1](https://forum.ansible.com/u/Gerald_Spencer1)\
**Post date:** [January 5, 2017, 12:27am UTC](https://forum.ansible.com/t/docker-service-fails-to-bring-up-docker-compose-yml-when-image-has-a-tag/23384/1 "2017-01-05T00:27:51Z")

</div>

As the title states, docker\_service fails when I try to launch a docker-compose file that includes an image tag.

The odd thing is that this docker-compose.yml works when I am on the host machine…  
The task works if I leave out the tag…

Currently using ansible 2.2.0.0

Error:  
raise NoSuchImageError("Image ‘{}’ not found".format(self.image\_name))\r\n  
compose.service.NoSuchImageError: Image ‘container\_of\_interest:tag’

Chunk of compose file:  
container-name:  
image: container\_of\_interest:tag  
command: run -p file

Specific task:

- name: Docker-compose all of the things  
docker\_service:  
project\_src: /path/to/compose  
pull: yes  
state: present  
become\_user: user  
become: true
