/docker-oracle-xe-11g

Dockerfile of Oracle Database Express Edition 11g Release 2

Primary LanguageShellApache License 2.0Apache-2.0

docker-oracle-xe-11g

Oracle Express Edition 11g Release 2 on Ubuntu 18.04 LTS

This Dockerfile is a trusted build of Docker Registry.

Installation(with Ubuntu 18.04)

docker pull fengzhou/oracle-xe-11g

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

Quick Start

Run with 1521 port opened:

docker run -d -p 49161:1521 fengzhou/oracle-xe-11g

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

docker run -d -p 49161:1521 -e ORACLE_ENABLE_XDB=true fengzhou/oracle-xe-11g

For APEX user:

docker run -d -p 49161:1521 -p 8080:8080 fengzhou/oracle-xe-11g
# Login http://localhost:8080/apex/apex_admin with following credential:
username: ADMIN
password: admin

By default, the password verification is disable(password never expired)
Connect database with following setting:

hostname: localhost
port: 49161
sid: xe
username: system
password: oracle

Password for SYS & SYSTEM

oracle

Support custom DB Initialization and running shell scripts

# Dockerfile
FROM fengzhou/oracle-xe-11g

ADD init.sql /docker-entrypoint-initdb.d/
ADD script.sh /docker-entrypoint-initdb.d/

Running order is alphabetically.