Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/MaksymBilenko/docker-oracle-12c
:whale: Docker image with Oracle Database 12c on board
https://github.com/MaksymBilenko/docker-oracle-12c
database docker linux oracle-12c oracle-db
Last synced: 12 days ago
JSON representation
:whale: Docker image with Oracle Database 12c on board
- Host: GitHub
- URL: https://github.com/MaksymBilenko/docker-oracle-12c
- Owner: MaksymBilenko
- License: apache-2.0
- Created: 2015-11-27T03:47:00.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2021-02-18T09:54:59.000Z (over 3 years ago)
- Last Synced: 2024-04-20T19:42:03.367Z (7 months ago)
- Topics: database, docker, linux, oracle-12c, oracle-db
- Language: Shell
- Homepage:
- Size: 73.2 KB
- Stars: 672
- Watchers: 32
- Forks: 284
- Open Issues: 41
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-list - docker-oracle-12c
README
Oracle Standard Edition 12c Release 2
============================[![Docker Repository on Quay](https://quay.io/repository/maksymbilenko/oracle-12c/status "Docker Repository on Quay")](https://quay.io/repository/maksymbilenko/oracle-12c)
### Installation
docker pull quay.io/maksymbilenko/oracle-12c
Run with 8080 and 1521 ports opened:
docker run -d -p 8080:8080 -p 1521:1521 quay.io/maksymbilenko/oracle-12c
Run with data on host and reuse it:
docker run -d -p 8080:8080 -p 1521:1521 -v /my/oracle/data:/u01/app/oracle quay.io/maksymbilenko/oracle-12c
Run with Custom DBCA_TOTAL_MEMORY (in Mb):
docker run -d -p 8080:8080 -p 1521:1521 -v /my/oracle/data:/u01/app/oracle -e DBCA_TOTAL_MEMORY=4096 quay.io/maksymbilenko/oracle-12c
Connect database with following setting:
hostname: localhost
port: 1521
sid: xe
service name: xe
username: system
password: oracleTo connect using sqlplus:
sqlplus system/oracle@//localhost:1521/xePassword for SYS & SYSTEM:
oracle
Connect to Oracle Application Express web management console with following settings:
http://localhost:8080/apex
workspace: INTERNAL
user: ADMIN
password: 0Racle$Apex upgrade up to v 5.*
docker run -it --rm --volumes-from ${DB_CONTAINER_NAME} --link ${DB_CONTAINER_NAME}:oracle-database -e PASS=YourSYSPASS quay.io/maksymbilenko/docker-oracle-apex install
Details could be found here: https://github.com/MaksymBilenko/docker-oracle-apexConnect to Oracle Enterprise Management console with following settings:
http://localhost:8080/em
user: sys
password: oracle
connect as sysdba: trueBy Default web management console is enabled. To disable add env variable:
docker run -d -e WEB_CONSOLE=false -p 1521:1521 -v /my/oracle/data:/u01/app/oracle quay.io/maksymbilenko/oracle-12c
#You can Enable/Disable it on any timeStart with additional init scripts or dumps:
docker run -d -p 1521:1521 -v /my/oracle/data:/u01/app/oracle -v /my/oracle/init/SCRIPTSorSQL:/docker-entrypoint-initdb.d quay.io/maksymbilenko/oracle-12c
By default Import from `docker-entrypoint-initdb.d` is enabled only if you are initializing database (1st run).To customize dump import use `IMPDP_OPTIONS` env variable like `-e IMPDP_OPTIONS="REMAP_TABLESPACE=FOO:BAR"`
To run import at any case add `-e IMPORT_FROM_VOLUME=true`**In case of using DMP imports dump file should be named like ${IMPORT_SCHEME_NAME}.dmp**
**User credentials for imports are ${IMPORT_SCHEME_NAME}/${IMPORT_SCHEME_NAME}**
If you have an issue with database init like DBCA operation failed, please reffer to this [issue](https://github.com/MaksymBilenko/docker-oracle-12c/issues/16)
**TODO LIST**
* Web management console HTTPS port
* Add functionality to run custom scripts on startup, for example User creation
* Add Parameter that would setup processes amount for database (Currently by default processes=300)
* Spike with clustering support
* Spike with DB migration from 11g**In case of any issues please post it [here](https://github.com/MaksymBilenko/docker-oracle-12c/issues).**