麻溜启动Oracle实例demo
注意:镜像非常大并且外网网络过慢,可能得pull一天(n次超时)。。md
后台静默pull命令:
nohup docker pull container-registry.oracle.com/database/express:latest > pull.log 2>&1 &
启动实例:
docker run -d --name oracle-xe -p 1521:1521 -p 5500:5500 -e ORACLE_PWD=cnmsb123 container-registry.oracle.com/database/express:latest实例内部连接测试:
docker exec -it oracle-xe sqlplus system/cnmsb12@//localhost/XEPDB1SELECT NAME, OPEN_MODE FROM V$PDBS;
navicat远程
有4gb内存即可,上不封顶