Ah I'm having this exact same issue. Did you every find a solution?

On Wednesday, September 23, 2015 at 11:34:05 AM UTC-7, Darvin Denmian wrote:
>
> Hi guys,
>
> I'm facing a weird problem when trying to build a docker image, 
> this is the basic workflow:
>
> 1) I successfully build a docker image called "accounts-skeleton"
>
> ...
> - name: "Accounts: building Accounts Skeleton image"
>   docker_image:
>     path: /tmp/
>     name: accounts-skeleton
>     tag: latest
>     state: present
>   tags:
>     - containers
>     - accounts-skeleton
>
> # docker images
> REPOSITORY          TAG                 IMAGE ID            CREATED       
>       VIRTUAL SIZE
> accounts-skeleton   latest              c227713a6340        2 hours ago   
>       790.9 MB
>
> 2) and then I try to create a second image using the image 
> "accounts-skeleton",
> as follows:
>
> ...
> - name: "Accounts: building Accounts Base image"
>   docker_image:
>     path: /home/accounts/current/
>     name: accounts-base
>     tag: latest
>     state: present
>   when: deploy is defined
>   tags:
>     - containers
>     - accounts-base
>
> but when I execute the playbook the following error message appears:
>
> TASK: [accounts | Accounts: building Accounts Base image] 
> *********************
> failed: [192.168.1.170] => {"changed": true, "failed": true, "image_id": 
> null}
> msg: Error: Error: image library/accounts-skeleton:latest not found
> Log:Step 0 : FROM accounts-skeleton
>
> Do you guys have some idea of what is going on?
>
> Thanks in advance.
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/f3c09036-de77-477a-bfc2-8a79846c6937%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to