Help Center/ CodeArts Build/ FAQs/ Using Docker for Build/ Failed to Pull the Image
Updated on 2023-11-28 GMT+08:00

Failed to Pull the Image

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.