Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/PengBAI/docker-oracle-12c-R1

Oracle 12c Release 1 with web console and startup initdb
https://github.com/PengBAI/docker-oracle-12c-R1

database docker-image

Last synced: about 2 months ago
JSON representation

Oracle 12c Release 1 with web console and startup initdb

Awesome Lists containing this project

README

        

# docker-oracle-12c-R1
## Oracle 12c Release 1

[![](https://badge.imagelayers.io/pengbai/docker-oracle-12c-r1:latest.svg)](https://imagelayers.io/?images=pengbai/docker-oracle-12c-r1:latest 'Get your own badge on imagelayers.io')
[![Docker Hub](https://img.shields.io/badge/docker-ready-blue.svg)](https://hub.docker.com/r/pengbai/docker-oracle-12c-r1/)

Image on docker hub: [https://hub.docker.com/r/pengbai/docker-oracle-12c-r1/](https://hub.docker.com/r/pengbai/docker-oracle-12c-r1/)

Changes as needed:
* Add startup sql **init** database feature
* Impove performance on startup
* Persist database SID xe in image

## Description

Pull image:
```
docker pull pengbai/docker-oracle-12c-r1
```

Run with 8080 and 1521 ports opened:
```
docker run -d -p 8080:8080 -p 1521:1521 pengbai/docker-oracle-12c-r1
```

[![](https://raw.githubusercontent.com/PengBAI/docker-oracle-12c-R1/master/img-demo/start_oracle.PNG)](https://raw.githubusercontent.com/PengBAI/docker-oracle-12c-R1/master/img-demo/start_oracle.PNG)

**NEW!** Option: Execute automatically scripts sql when contaner startup:

In folder where you put your ```*.sql``` files for database init from /local-initdb to ```/entrypoint-initdb.d``` in contaner
```
docker run -d -p 8080:8080 -p 1521:1521 -v /local-initdb:/entrypoint-initdb.d pengbai/docker-oracle-12c-r1
```

[![](https://raw.githubusercontent.com/PengBAI/docker-oracle-12c-R1/master/img-demo/start_oracle_with_init_sql.PNG)](https://raw.githubusercontent.com/PengBAI/docker-oracle-12c-R1/master/img-demo/start_oracle_with_init_sql.PNG)

Connect database with following setting:
```
hostname: localhost
port: 1521
sid: xe
username: system
password: oracle
```

Password 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$
```