IBM Cloud Docs
Why can't I pull the newest image by using the latest tag?

Why can't I pull the newest image by using the latest tag?

You are unable to pull the most recent image by using the latest tagA user-defined identifier attached to a grouping of resources that are contained in an account. Tags are visible account-wide. in IBM Cloud® Container Registry.

You're trying to run the command docker pull, but it returned a version of your image that isn't the most recent version built.

The latest tag is applied by default to reference an image when you run Docker commands without specifying the tag value. The latest tag is applied to the most recent docker build or docker tag command that was run without a tag value explicitly set. Therefore, it's possible to run docker commands out of order or to explicitly set tags on some images. Both scenarios cause the latest tag to refer to a build that isn't the most recent. For more information about Docker tags, see docker image tag.

It is generally better to explicitly define a different sequential tag for your images every time, and not rely on the latest tag.