当前位置:Gxlcms > 数据库问题 > docker安装oracle

docker安装oracle

时间:2021-07-01 10:21:17 帮助过:20人阅读

/oracle-12c latest 17cd1ab9d9a7 2 days ago 5.703 GB kalilinux/kali-linux-docker latest 8ececeaf404d 9 months ago 1.558 GB

  创建docker oracle容器

work@work:~/app$ sudo docker run -it sath89/oracle-12c
Database not initialized. Initializing database.
Starting tnslsnr
Copying database files
1% complete
3% complete
11% complete
18% complete
26% complete
37% complete
Creating and starting Oracle instance
40% complete
45% complete
    50% complete
55% complete
56% complete
60% complete
62% complete
Completing Database Creation
66% complete
70% complete
73% complete
85% complete
96% complete
100% complete
Look at the log file "/u01/app/oracle/cfgtoollogs/dbca/xe/xe.log" for further details.
Configuring Apex console
Database initialized. Please visit http://#containeer:8080/em http://#containeer:8080/apex for extra configuration if needed
Starting web management console

PL/SQL procedure successfully completed.

Starting import from /docker-entrypoint-initdb.d:
found file /docker-entrypoint-initdb.d//docker-entrypoint-initdb.d/*
[IMPORT] /entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*

Import finished

Database ready to use. Enjoy! ;)

   容器启动完成,注意使用此镜像创建的oracle用户名和密码为: system/oracle,然后我们使用本地的sql工具连接虚拟机的oracle。技术分享图片

   至此,使用docker安装oracle完成,安装过程简单,非生产环境可以考虑使用。下一节详细说明以下遇到的性能问题及相关的分析思路。

docker安装oracle

标签:nes   jessie   java 8   creating   连接   ast   centos6   console   exp   

人气教程排行