IBM Cloud Docs
Why do I get a manifest type error when I tag my image in Container Registry?

Why do I get a manifest type error when I tag my image in Container Registry?

When you try to tag your image in IBM Cloud® Container Registry, you get a manifest type error: CRI0302E The manifest type for this image is not supported for tagging.

You tried to tag your image, but you receive the following manifest error message: CRI0302E The manifest type for this image is not supported for tagging. To find out about supported manifest types, see https://cloud.ibm.com/docs/Registry?topic=Registry-ts_index#ts_manifest_error_type

The manifest type is not supported.

To resolve the problem, complete the following steps:

  1. Pull the image that you tried to tag by running the following command, where SOURCE_IMAGE is your source image name:

    docker pull SOURCE_IMAGE
    
  2. Tag your local copy of the image that you pulled in the previous step by running the following command, where TARGET_IMAGE is your new image name:

    docker tag SOURCE_IMAGE TARGET_IMAGE
    
  3. Push the image that you tagged in the previous step by running the following command:

    docker push TARGET_IMAGE