dockerclient icon indicating copy to clipboard operation
dockerclient copied to clipboard

Indicate failure to pull an image

Open diptanu opened this issue 10 years ago • 2 comments

Currently the PullImage API doesn't indicate if there was an error while downloading an image.

Is it possible to parse the response of the remote api and return that image failed to download? I have seen other clients look for the presence of errorDetail in the response

diptanu avatar Dec 10 '14 21:12 diptanu

I think it makes sense. Would you be willing to contribute a changeset?

samalba avatar Dec 10 '14 22:12 samalba

@samalba Already did :-) Can you please take a look?

diptanu avatar Dec 10 '14 23:12 diptanu