docker 安装 orgcle11g
https://blog.csdn.net/oscar999/article/details/107582421
/* 镜像所有的密码都是统一的 helowin */
docker pull registry.cn-hangzhou.aliyuncs.com/helowin/oracle_11g
docker run -it -d -p 1521:1521 -v /var/docker/oracle/data:/data/oracle --name oracle11g
registry.cn-hangzhou.aliyuncs.com/helowin/oracle_11g
docker exec -it 5e /bin/bash
source /home/oracle//.bash_profile
[oracle@5e48297044b8 /]$ su root
Password: helowin
[root@5e48297044b8 /]# vim /etc/profile
export ORACLE_HOME=/home/oracle/app/oracle/product/11.2.0/dbhome_2
export ORACLE_SID=helowin
export PATH=SORACLE_HOME/bin:$PATH
保存退出
ln -s $ORACLE_HOME/bin/sqlplus /usr/bin
source /home/oracle/.bashrc
登录数据库: sqlplus /nolog