https://hub.docker.com/r/tekintian/oracle-xe-11g
https://www.github.com/tekintian/oracle11g
https://hub.docker.com/r/oracleinanutshell/oracle-xe-11g
docker run -d -p 8080:8080 -p 1521:1521 -v /my/oracle/data:/u01/app/oracle\
-e processes=1000 \
-e sessions=1105 \
-e transactions=1215 \
tekintian/oracle-xe-11g
---使用以下设置连接数据库
hostname: localhost
port: 1521
sid: xe
username: system
password: oracle
-Password for SYS & SYSTEM:
oracle
---使用以下设置连接到Oracle Application Express Web管理控制台
http://localhost:8080/apex
workspace: INTERNAL
user: ADMIN
password: oracle
---使用自定义sys密码运行
docker run -d -p 8080:8080 -p 1521:1521 -e DEFAULT_SYS_PASS=sYs-p@ssw0rd tekintian/oracle-xe-11g
=====================================
---SID是对内的(自行修改),是实例级别的一个名字,用来内部之间称呼用
docker run -d --name oracledb\
-p 1521:1521\
-e ORACLE_SID=sip\
-e ORACLE_PWD=oracle\
-e ORACLE_CHARACTERSET=ZHS16GBK\
-e SGA_SIZE=6G\
-e PGA_SIZE=6G\
-e DB_ROLE=primary\
-e ENABLE_ARCH=false\
-v /data/oracle:/opt/oracle/oradata \
oracleinanutshell/oracle-xe-11g
---初始化 比如创建的库名称为sip
create tablespace sip datafile '/opt/oracle/oradata/sip/sip01.dbf' size 1024m autoextend on next 512m maxsize unlimited;
create user sip identified by Sip123 default tablespace sip;
grant dba to sip;
---登陆
ip: 1521
服务名: sip , 选择SID
角色: 默认
用户名/密码
签名:这个人很懒,什么也没有留下!