Help Center/ CodeArts Build/ FAQs/ Images/ How Do I Resolve the Image Pull Failure During a Build Task?
Updated on 2024-10-10 GMT+08:00

How Do I Resolve the Image Pull Failure During a Build Task?

Symptoms

When a build task is executed, the following error information is displayed in the log:

 ERROR: docker pull image failed, dockerImage

Cause Analysis

The possible causes are as follows:

  • The network is abnormal. As a result, the pull times out.
  • The image to be pulled does not exist.
  • The pulled image is private.

Solution

  • If the fault is caused by a network exception, perform the following operations to rectify the fault:
    1. Try again to check whether the problem can be solved.
    2. If the problem occurs frequently or the retry still fails, contact customer service.
  • The image does not exist. Ensure that the image has been uploaded to the image repository and the image name and version are correct.
  • If the image is private, set the image to be public, or perform the docker login authentication, and perform the docker pull operation.