I figured it out - I didn't realise, but the installation instructions for 
docker on Ubuntu have changed. I went through the instructions 
at https://docs.docker.com/engine/installation/linux/ubuntulinux/ and the 
issue is now fixed. I guess the older lxc-docker package was configured to 
use the v1 registry endpoint. After installing the new docker-engine 
package my docker tasks are working again.

On Monday, February 29, 2016 at 3:16:21 PM UTC-8, Guy Knights wrote:
>
> For the record, this was working fine a couple of hours ago.
>
> On Monday, February 29, 2016 at 3:13:45 PM UTC-8, Guy Knights wrote:
>>
>> I have a role that runs nginx in a docker container using the official 
>> nginx image from docker hub. The docker task returns the following error 
>> after it pulls the image:
>>
>> "failed": true, "msg": "Unrecognized status from pull.", "status": "
>> docker.io/library/nginx: this image was pulled from a legacy registry. 
>>  Important: This registry version will not be supported in future versions 
>> of docker."
>>
>> I tried completely removing the image and associated containers from the 
>> machines that were running it and then I re-ran the playbook that executes 
>> this task, but it still gives the same error.
>>
>> Does anyone know a way to fix this?
>>
>> Thanks,
>> Guy
>>
>

-- 
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/71ab180e-3407-439e-906a-336dab6285c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to