|
| 1 | +--- |
| 2 | +meta: |
| 3 | + title: Common errors when pushing images to Container Registry |
| 4 | + description: Solutions for resolving issues when pushing images to Scaleway's Container Registry. |
| 5 | +content: |
| 6 | + h1: Common errors when pushing images to Container Registry |
| 7 | + paragraph: This guide provides solutions for common issues encountered when pushing images to Scaleway's Container Registry. |
| 8 | +tags: container-registry, troubleshooting |
| 9 | +dates: |
| 10 | + validation: 2025-03-05 |
| 11 | + posted: 2025-03-05 |
| 12 | +categories: |
| 13 | + - container-registry |
| 14 | +--- |
| 15 | + |
| 16 | +## Problem |
| 17 | +You are unable to push images to Scaleway's Container Registry. |
| 18 | + |
| 19 | +### Symptoms |
| 20 | +- The `docker push` command fails with an error message. |
| 21 | +- Authentication or authorization errors occur. |
| 22 | +- The image push process hangs or times out. |
| 23 | + |
| 24 | +## Possible causes |
| 25 | +- Incorrect authentication or authorization settings. |
| 26 | +- Misconfigured or outdated Docker client. |
| 27 | +- Network connectivity issues or firewall restrictions. |
| 28 | +- Exceeded Container Registry quotas or limits. |
| 29 | + |
| 30 | +## Solutions |
| 31 | + |
| 32 | +### Verify authentication and authorization |
| 33 | +- Ensure you are logged in with a valid Scaleway account using `docker login`. |
| 34 | +- Confirm that your account has the necessary permissions to push images. |
| 35 | +- Verify that your Docker client is [correctly configured](/container-registry/how-to/connect-docker-cli/) for Scaleway's Container Registry. |
| 36 | + |
| 37 | +### Review error messages and logs |
| 38 | +- Run the push command with verbose output for more details: |
| 39 | + ```sh |
| 40 | + docker push --debug <your-image> |
| 41 | + ``` |
| 42 | +- Check the Docker client logs for warnings or errors: |
| 43 | + ```sh |
| 44 | + docker logs <container_id> |
| 45 | + ``` |
| 46 | +- Verify Scaleway’s Container Registry [status](https://status.scaleway.com/) for any ongoing incidents. |
| 47 | + |
| 48 | +### Check Docker configuration and version |
| 49 | +- Ensure your Docker client is up-to-date by running: |
| 50 | + ```sh |
| 51 | + docker --version |
| 52 | + ``` |
| 53 | +- Check for configuration errors in the Docker daemon and client. |
| 54 | +- Review the [Docker documentation](https://docs.docker.com/) for known compatibility issues. |
| 55 | + |
| 56 | +### Investigate network connectivity issues |
| 57 | +- Confirm that your internet connection is stable. |
| 58 | +- Check firewall or proxy settings that may be blocking the connection. |
| 59 | +- Try pushing the image from a different network or VPN to rule out local issues. |
| 60 | + |
| 61 | +### Verify Container Registry quotas and limits |
| 62 | +- Ensure you have not exceeded your Scaleway Container Registry storage limits. |
| 63 | +- Refer to Scaleway’s documentation for [quota information](/organizations-and-projects/additional-content/organization-quotas/#container-registry). |
| 64 | + |
| 65 | +## Additional troubleshooting steps |
| 66 | +- Try pushing a small test image to verify general functionality: |
| 67 | + ```sh |
| 68 | + docker pull alpine && docker tag alpine <your-registry>/test-image && docker push <your-registry>/test-image |
| 69 | + ``` |
| 70 | +- Review Docker’s official [troubleshooting guides](https://docs.docker.com/tags/troubleshooting/) for further insights. |
| 71 | +- If the issue persists, [contact our support team](https://console.scaleway.com/support) with error logs and diagnostic details. |
| 72 | + |
| 73 | + |
0 commit comments