oracle镜像来自registry.cn-hangzhou.aliyuncs.com/helowin/oracle_11g su root #password:helowin
8.6K
docker run -d --name oracle_11g -p 1521:1521 --privileged=true --restart=always -e TZ=Asia/Shanghai -v /opt/oracle/ggs:/opt/oracle/ggs -v /opt/oracle/oradata:/home/oracle/app/oracle/oradata -v /opt/oracle/flash_recovery_area/helowin:/home/oracle/app/oracle/flash_recovery_area/helowin akaiot/oracle_11g:latest
oracle镜像来自registry.cn-hangzhou.aliyuncs.com/helowin/oracle_11g 账户:root/helowin
docker exec -it oracle_11g /bin/bash source /home/oracle/.bash_profile
su root #password:helowin vi /etc/profile
#在末尾添加 export ORACLE_HOME=/home/oracle/app/oracle/product/11.2.0/dbhome_2 export ORACLE_SID=helowin export PATH=$ORACLE_HOME/bin:$PATH
#刷新配置 source /etc/profile
#切换回去 su oracle
#登录sqlplus sqlplus /nolog connect /as sysdba
Content type
Image
Digest
Size
2.8 GB
Last updated
about 5 years ago
docker pull akaiot/oracle_11g