IBM Cloud Docs
Why am I getting errors about using a private network in Container Registry?

Why am I getting errors about using a private network in Container Registry?

You have a valid IAM API key or OAuth token, but you still get an Access denied error over a private network in IBM Cloud® Container Registry: Private-only access is enabled on this account, but this request was over the public network.

When you try to access Container Registry, you get the following message:

Private-only access is enabled on this account, but this request was over the public network. You must access this account over the private network

You attempted to access Container Registry over the public network, but the account is set to allow only private network traffic.

Check the account settings for private only traffic. If private-only traffic is enabled, ensure that you are accessing Container Registry from the private network. For more information, see Using private network connections.