Problem: When you push an image to SWR through your container engine client, the operation fails with the following information returned.
denied: you do not have the permission
Possible Causes:
Solutions:
Problem: When you push an image to SWR through your container engine client, the operation fails with the following information returned.
tag does not exist: xxxxxx
Or
An image does not exist locally with the tag: xxxxxx
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.
name invalid: 'repository' is invalid
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: The value contains a maximum of 64 characters and must meet regular expression ^([a-z]+(?:(?:(?:_|__|[-]*)[a-z0-9]+)+)?)$.
Image name: The value contains a maximum of 128 characters and must meet regular expression ^([a-z0-9]+(?:(?:(?:_|__|[-]*)[a-z0-9]+)+)?)$.
Specify a valid organization name or image name, and push the image again.
Problem: Image push occasionally times out.
Solution: When you push an image from a server in Chinese mainland to a server outside Chinese mainland, the network may be unstable.