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