Docker compose up, retry pull images

2019-06-24 08:07发布

问题:

We sometimes get Client.Timeout exceeded while awaiting headers errors when running docker-compose up as its pulling images.

Is there a way to get docker-compose to retry when it is pulling an image?