1、拉取镜像
docker pull container-registry.oracle.com/database/express:21.3.0-xe
2、运行镜像
docker run -it -d --name oracle21c -p 1525:1521 -p 5500:5500 -e ORACLE_PWD=szoscar55 -e ORACLE_CHARACTERSET=UTF8 container-registry.oracle.com/database/express:21.3.0-xe
3、进入容器并连接数据库
4、# 修改system密码
alter user system identified by 123456;
5、退出sqlplus exit
6、退出容器 exit