Why Does an Image Fail to Be Uploaded Through a Container Engine Client?
- Problem: When you push an image to SWR through your container engine client, the operation fails with the following information returned.

Possible causes: Normally, when you specify an organization that does not exist for the image to be pushed to, SWR will first create an organization with the name you specified and push the image to this organization. Image push may fail when the organization name you specified has already been used by another user or the maximum number of organizations that you are allowed to create, which is set to five by default, has been reached.
Solutions:
- If the organization name has been occupied, create a valid organization first, and then push the image. For details on how to create an organization, see Creating an Organization.
- If the maximum number of organizations you are allowed to create has been reached, you can either push the image to an existing organization, or increase the quota by submitting a service ticket.
- Problem: When you push an image to SWR through your container engine client, the operation fails with the following information returned.


Possible cause: The image or image tag to be pushed does not exist.
Solution: Run the docker images command to view all the local images. Check the target image name and tag, and push the image again.
- Problem: When you push an image to SWR through your container engine client, the operation fails with the following information returned.

Possible cause: The organization name or image name does not comply with the naming rules.
Solution: The regular expressions of the organization (namespace) name and image (repository) name are as follows:
Organization name: ^([a-z]+(?:(?:(?:_|__|[-]*)[a-z0-9]+)+)?)$. Enter a maximum of 64 characters.
Image name: ^([a-z0-9]+(?:(?:(?:_|__|[-]*)[a-z0-9]+)+)?)$. Enter a maximum of 128 characters.
Specify a valid organization name or image name, and push the image again.
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.