SourceBuild troubleshooting

Prev Next

Available in Classic and VPC

You might run into the following problems when using SourceBuild. Find out causes and possible solutions.

Error when uploading build result

Build was successful, but an error occurs when uploading the build result.

Cause

This error may occur when the directory for the build result was set incorrectly.

Solution

  • Verify the directory or file path for saving build results.
  • Use the Command after build feature to check if the /build directory is created properly.

Docker Rate Limit error when using Public Registry for build environment image

The "Docker Rate Limit" error occurs when using Public Registry for build environment image.

Cause

When using Public Registry, the image is imported via Docker Hub. And since many users use the service, the rate limit may occur. Docker Hub limits the number of image pulls within a specific time period to prevent excessive usage (see Docker Hub pull usage and limits). We cannot provide specific limit criteria or removal conditions as Docker sets these limits based on their policies.

Solution

To build without Docker Hub's rate limit, we recommend uploading the image to use to Container Registry manually and using the image as the build environment image.

Follow these steps to solve this problem:

  1. From the NAVER Cloud Platform console, click i_menu > Services > Containers > Container Registry in order.
  2. See Check and manage Container Registry information and upload the image to use to Container Registry's registry.
  3. From the NAVER Cloud Platform console, click i_menu > Services > Developer Tools > SourceBuild in order.
  4. Select the project to change the settings for, and click the [Change settings] button.
  5. When the Set build project page appears, select the Container Registry's image in the Build environment image.
  6. Change to the image uploaded to the registry, and click the [Apply] button.

Docker Rate Limit error when using Docker build

The "Docker Rate Limit" error occurs when using Docker build.

Cause

The base image to be used for Dockerfile's FROM clause is imported via Docker Hub. And since many users use this service, the rate limit may occur. Docker Hub limits the number of image pulls within a specific time period to prevent excessive usage (see Docker Hub pull usage and limits).

Solution

To build without Docker Hub's rate limit, we recommend uploading the image to use to Container Registry manually and using the image as the base image for Dockerfile.

Follow these steps to solve this problem:

  1. From the NAVER Cloud Platform console, click i_menu > Services > Containers > Container Registry in order.
  2. See Check and manage Container Registry information and upload the base image to use for Dockerfile to Container Registry's registry.
  3. Edit the FROM clause so that Dockerfile uses the image uploaded to Container Registry as the base image, and apply the change.
Note

See Enable Public Registry to set that anyone can download (pull) images without a separate authentication process.

Learning resources

We offer various materials for you to explore. To learn more about SourceBuild, check out these helpful links:

Note

If you're still having trouble finding what you need, click on the feedback icon and send us your thoughts and requests. We'll use your feedback to improve this guide.