You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Mac M1环境下用Podman启动Oracle XE容器遇认证失败问题

Oracle数据库容器启动认证失败问题

环境信息

  • 操作系统:Mac M1
  • 镜像:container-registry.oracle.com/database/express:21.3.0-xe
  • Docker驱动:Podman(下方Shell命令中docker为podman的别名)

之前尝试使用container-registry.oracle.com/database/enterprise:19.19.0.0镜像,但拉取时失败,错误信息如下:

$ 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

随后切换到container-registry.oracle.com/database/express:21.3.0-xe镜像,但启动容器时持续遇到认证失败错误,即使设置了ORACLE_PWD环境变量也无法解决。执行启动命令的输出如下:

$ 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

关键问题是:执行命令后根本没有机会手动输入密码,系统似乎自动填充了某个密码,进而导致认证失败。

内容的提问来源于stack exchange,提问作者IsaIkari

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.28 04:36:08