Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Unable to pull from container-registry using Docker Desktop on macOS

4180123Jan 31 2020 — edited Feb 3 2020

I am trying to perform `docker pull container-registry.oracle.com/middleware/fmw-infrastructure:12.2.1.3` on a mac running Docker Desktop on Mojave.  I was finally able to login successfully after fiddling with my Docker config.json, but I am not able to pull any images from the Oracle Container Registry, as it appears that the registry is unavailable. Whenever I have Docker running and I try to pull I am prompted with the following

`Error response from daemon: Get https://container-registry.oracle.com/v2/: Service Unavailable`

Comments

Avi Miller-Oracle

That's a response I've not seen before. What changes did you make to Docker's config.json to allow you to login? I didn't have to make any changes to my config on my external macOS boxes to login and pull from Oracle Container Registry, so I'm wondering if that's the cause of your pull issue.

4180123

My config.json looks as so...

{

  "stackOrchestrator" : "swarm",

  "credsStore" : "osxkeychain",

  "auths" : {

    "container-registry.oracle.com" : {

    }

  },

  "experimental" : "disabled",

  "HttpHeaders" : {

    "User-Agent" : "Docker-Client/19.03.5 (darwin)"

  }

}

4180123

However, I did just perform another login which succeeded, that resulted in my config.json looking like:

{

        "auths": {

                "container-registry.oracle.com": {},

                "https://index.docker.io/v1/": {}

        },

        "HttpHeaders": {

                "User-Agent": "Docker-Client/19.03.5 (darwin)"

        },

        "credsStore": "osxkeychain",

        "experimental": "disabled",

        "stackOrchestrator": "swarm"

}

Then when performing the docker pull I received back:

Error response from daemon: Get https://container-registry-phx.oracle.com/v2/middleware/fmw-infrastructure/manifests/12.2.1.3: unauthorized: authentication required

4180123

I was ultimately able to get this to work thinking that it was an internal network/proxy issue.  Thank you for replying.  I'm not sure how to close this though.

Avi Miller-Oracle

Could you let us know how you resolved this (in case someone else has the same issue)? Also, you can just mark one of the replies, preferably the one in which you outline how you fixed the problem, as the "Correct Answer".

user-a8cvw

I'm getting this error after trying to perform docker pull. The login was successful after several attempts and now I'm getting this :

Error response from daemon: Get "https://container-registry.oracle.com/v2/": dialing container-registry.oracle.com:443 with direct connection: connecting to 2.21.103.210:443: dial tcp 2.21.103.210:443: i/o timeout

user-a8cvw

@avi-miller-oracle please help

1 - 7

Post Details

Added on Jan 31 2020
7 comments
1,232 views