1 Star 6 Fork 1

mingjie-li / oracle11g-installer

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

  1. 本项目原作者非本人
  2. 原项目地址
  3. Github上fork的地址

项目中需要在docker中运行Oracle, 在github和docker hub上找了资料,最后发现jaspeen的作品比较符合需求。

问题

在实际的操作过程中发现几点问题

  1. 挂载整个oracle安装目录时存在问题
  2. 重现build docker镜像时发现Oracle小版本不符,构建的镜像无法使用

所以新建了分支11.2.0.1,并给原作者发出了issue,希望新开个分支。 在使用的过程中如果有问题会持续更新。

Image for running Oracle Database 11g Standard/Enterprise. Due to oracle license restrictions image is not contain database itself and will install it on first run from external directory.

This image for development use only

Usage

Download database installation files from Oracle site and unpack them to install_folder. Run container and it will install oracle and create database:

docker run --privileged --name oracle11g -p 1521:1521 -v <install_folder>:/install jaspeen/oracle-11g

Then you can commit this container to have installed and configured oracle database:

docker commit oracle11g oracle11g-installed

Database located in /opt/oracle folder

OS users:

  • root/install
  • oracle/install

DB users:

  • SYS/oracle

Optionally you can map dpdump folder to easy upload dumps:

docker run --privileged --name oracle11g -p 1521:1521 -v <install_folder>:/install -v <local_dpdump>:/opt/oracle/dpdump jaspeen/oracle-11g

To execute impdp/expdp just use docker exec command:

docker exec -it oracle11g impdp ..

Comments ( 0 )

Sign in for post a comment

About

oracle11g installer for docker expand collapse
Docker
Apache-2.0
Cancel

Releases

No release

oracle11g-installer

Contributors

All

Activities

load more
can not load any more
Docker
1
https://gitee.com/mingjie-li/oracle11g-installer.git
git@gitee.com:mingjie-li/oracle11g-installer.git
mingjie-li
oracle11g-installer
oracle11g-installer
master

Search

105716 1d94204e 1850385 105716 2d26be5c 1850385