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