Forum Stats

  • 3,768,568 Users
  • 2,252,811 Discussions
  • 7,874,624 Comments

Discussions

Fail to pull image from container-registry.oracle.com after successful login.

2907255
2907255 Member Posts: 2
edited Jul 2, 2019 5:50AM in Containers

Hi.

I trying to pull Oracle Linux image from container-registry.oracle.com and get authentication error after successful docker login:

# docker login container-registry.oracle.com                                                                                                                                                                                          

Username (XXXX):                                                                                                                                                                                                       

Password:                                                                                                                                                                                                                                     

WARNING! Your password will be stored unencrypted in /root/.docker/config.json.                                                                                                                          

Configure a credential helper to remove this warning. See                                                                                                                                                   

https://docs.docker.com/engine/reference/commandline/login/#credentials-store                                                                                                                         

                                                                                                                                                                                                                                              

Login Succeeded                                                                                                                                                                                   

# docker pull container-registry.oracle.com/os/oraclelinux:latest                                                                                                                                                                     

Trying to pull repository container-registry.oracle.com/os/oraclelinux ...                                                                                                                                                                    

pull access denied for container-registry.oracle.com/os/oraclelinux, repository does not exist or may require 'docker login'

Have anyone any suggestions how to solve, or at least how to debug this problem?

2907255

Best Answer

Answers

  • Avi Miller-Oracle
    Avi Miller-Oracle Senior Solution Architect, Oracle Cloud Infrastructure Developer Adoption Melbourne, AustraliaPosts: 4,821 Employee
    edited Jul 1, 2019 3:14PM Accepted Answer

    There is no oraclelinux:latest image on the Oracle Container Registry. Try oraclelinux:7-slim instead. You also need to make sure you've accepted the terms and conditions for this image at https://container-registry.oracle.com first. Otherwise, it will not allow you to pull.

    However, Oracle Linux is published as an official Docker image, so you should use that instead: https://hub.docker.com/_/oraclelinux

    29072552907255
  • 2907255
    2907255 Member Posts: 2
    edited Jul 2, 2019 5:50AM
    You also need to make sure you've accepted the terms and conditions for this image at https://container-registry.oracle.com first. Otherwise, it will not allow you to pull.

    Thanks. It is not obvious that each section has its own "terms and conditions".

    Screenshot from 2019-07-02 12-31-02.png

    There is no oraclelinux:latest image on the Oracle Container Registry. Try oraclelinux:7-slim instead.

    Actually, there is:

    # docker pull container-registry.oracle.com/os/oraclelinux:latest

    Trying to pull repository container-registry.oracle.com/os/oraclelinux ...

    latest: Pulling from container-registry.oracle.com/os/oraclelinux

    dd1350e6fb6f: Pull complete

    Digest: sha256:9821896930a924c62667d40faf1f9157da0743362b9d9ea8d339e46c2df43c59

    Status: Downloaded newer image for container-registry.oracle.com/os/oraclelinux:latest