Closed ZhouXing19 closed 3 months ago
@ZhouXing19 to pull from container-registry.oracle.com/database/enterprise you now need an Auth Token. Password does not work.
Login to container-registry.oracle.com from your browser and generate an Auth Token by clicking on your profile icon on top right.
@ZhouXing19, the recommendation from @yunus-qureshi should resolve the unable to retrieve auth token: invalid username/password: authentication required
error you see when pulling the ARM-based 19.19 image. To expand on his response:
docker login container-registry.oracle.com
pull
request should now work!The error you're seeing with the container-registry.oracle.com/database/express:21.3.0-xe
image is misleading. There isn't a password issue; the problem stems from an architecture mismatch between the host OS (Mac M1 runs ARM architecture) and the image, which is built for AMD (Intel). That's visible in the preceding warning text: WARNING: image platform (linux/amd64) does not match the expected platform (linux/arm64)
.
If you can't solve the token issue accessing the container registry and you have access to download the installation binary from My Oracle Support, you can also build the image locally using this repository. HTH!
Thanks! The instruction worked. Closing.
container-registry.oracle.com/database/express:21.3.0-xe
docker
is alias ofpodman
)I'm aware that as mentioned in https://github.com/oracle/docker-images/issues/2709 that it's recommended to use
container-registry.oracle.com/database/enterprise:19.19.0.0
but it doesn't seem to be accessible:So I switched to
container-registry.oracle.com/database/express:21.3.0-xe
following instruction here.And I encountered this error constantly, and with
ORACLE_PWD
set, it still shows the same error.The thing is, i didn't have the chance to enter any password, but it seems to autocomplete some password, resulting in this auth failure.