项目作者: wnameless

项目描述 :
Oracle Database Express Edition 11g第2版的Dockerfile
高级语言: Shell
项目地址: git://github.com/wnameless/docker-oracle-xe-11g.git
创建时间: 2014-01-11T18:21:50Z
项目社区:https://github.com/wnameless/docker-oracle-xe-11g

开源协议:Apache License 2.0

关键词:
dockerfile oracle-11g

下载


docker-oracle-xe-11g

Oracle Express Edition 11g Release 2 on Ubuntu 18.04 LTS

This Dockerfile is a trusted build of Docker Registry.

Since 2019-Feb-13(the Valentine’s day eve) this docker image has been removed by DockerHub due to the Docker DMCA Takedown Notice from the Copyright owner which is the Oracle.

Happy Valentine’s day!

  1. + The new DockerHub [wnameless/oracle-xe-11g-r2] has been released, because
  2. + the old [wnameless/oracle-xe-11g] is banned by DockerHub and I cannot restore it.
  3. + Thanks for the help from the staff in Oracle with my DMCA Takedown issue, however this problem
  4. + is totally ignored by the DockerHub and I barely can't do anything but to open a new repo.
  5. + Sep 29 2019

Installation(Local)

  1. git clone https://github.com/wnameless/docker-oracle-xe-11g.git
  2. cd docker-oracle-xe-11g
  3. docker build -t wnameless/oracle-xe-11g .

Installation(DockerHub)

  1. docker pull wnameless/oracle-xe-11g-r2

SSH server has been removed since 18.04, please use “docker exec”

Quick Start

Run with 1521 port opened:

  1. docker run -d -p 49161:1521 wnameless/oracle-xe-11g-r2

Run this, if you want the database to be connected remotely:

  1. docker run -d -p 49161:1521 -e ORACLE_ALLOW_REMOTE=true wnameless/oracle-xe-11g-r2

For performance concern, you may want to disable the disk asynch IO:

  1. docker run -d -p 49161:1521 -e ORACLE_DISABLE_ASYNCH_IO=true wnameless/oracle-xe-11g-r2

Enable XDB user with default password: xdb, run this:

  1. docker run -d -p 49161:1521 -e ORACLE_ENABLE_XDB=true wnameless/oracle-xe-11g-r2

For APEX user:

  1. docker run -d -p 49161:1521 -p 8080:8080 wnameless/oracle-xe-11g-r2
  1. # Login http://localhost:8080/apex/apex_admin with following credential:
  2. username: ADMIN
  3. password: admin

For latest APEX(18.1) user, please pull wnameless/oracle-xe-11g-r2:18.04-apex first:

  1. docker run -d -p 49161:1521 -p 8080:8080 wnameless/oracle-xe-11g-r2:18.04-apex
  1. # Login http://localhost:8080/apex/apex_admin with following credential:
  2. username: ADMIN
  3. password: Oracle_11g

By default, the password verification is disable(password never expired)

Connect database with following setting:

  1. hostname: localhost
  2. port: 49161
  3. sid: xe
  4. username: system
  5. password: oracle

Password for SYS & SYSTEM

  1. oracle

Support custom DB Initialization and running shell scripts

  1. # Dockerfile
  2. FROM wnameless/oracle-xe-11g-r2
  3. ADD init.sql /docker-entrypoint-initdb.d/
  4. ADD script.sh /docker-entrypoint-initdb.d/

Running order is alphabetically.