You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Pull access denied from Kubernetes into OCI Registry

Received Response
92
Views
1
Comments
edited May 7, 2019 3:20PM in OCI - General 1 comment

Summary

Any policy needed ?

Content

I have followed several documentation pages to setup Kubernetes and Container Registry in Oracle Cloud infrastructure.

After creation of my API Auth Key, I was able to push my own Docker image to the OCIR Registry (in a private repository).

But when I try to pull this image from a simple pod in Kubernetes (OKE), i always get the following message in K8s dashboard :

Failed to pull image "fra.ocir.io/.../..": rpc error: code = Unknown desc = pull access denied for fra.ocir.io/.../..., repository does not exist or may require 'docker login'

I've created the registry secret "ocirsecret" as mentioned in the documentation and added it to the pod's description.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!