- OS: Mac M1
- Image:
container-registry.oracle.com/database/express:21.3.0-xe - Docker Driver: Podman (in shell commands below,
dockeris 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:
$ docker pull container-registry.oracle.com/database/enterprise
Trying to pull container-registry.oracle.com/database/enterprise:latest...
Error: initializing source docker://container-registry.oracle.com/database/enterprise:latest: unable to retrieve auth token: invalid username/password: authentication required
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.
$ docker run --name oracle-cont -v $(PWD)/oracle-data:/opt/oracle/oradata \
container-registry.oracle.com/database/express:21.3.0-xe
WARNING: image platform (linux/amd64) does not match the expected platform (linux/arm64)
Password: su: Authentication failure
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.