# oracle11g-installer **Repository Path**: mingjie-li/oracle11g-installer ## Basic Information - **Project Name**: oracle11g-installer - **Description**: oracle11g installer for docker - **Primary Language**: Docker - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 6 - **Forks**: 1 - **Created**: 2020-01-08 - **Last Updated**: 2021-08-04 ## Categories & Tags **Categories**: lamp **Tags**: None ## README # 注 1. 本项目原作者非本人 2. [原项目地址](https://github.com/jaspeen/oracle-11g) 3. Github上fork的[地址](https://github.com/plum528/oracle-11g) 项目中需要在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](http://www.oracle.com/technetwork/database/in-memory/downloads/index.html) and unpack them to **install_folder**. Run container and it will install oracle and create database: ```sh docker run --privileged --name oracle11g -p 1521:1521 -v :/install jaspeen/oracle-11g ``` Then you can commit this container to have installed and configured oracle database: ```sh 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: ```sh docker run --privileged --name oracle11g -p 1521:1521 -v :/install -v :/opt/oracle/dpdump jaspeen/oracle-11g ``` To execute impdp/expdp just use docker exec command: ```sh docker exec -it oracle11g impdp .. ```