Oracle Express Edition 11g Release 2 on Ubuntu 16.04 LTS
This Dockerfile is a trusted build of Docker Registry.
docker pull wnameless/oracle-xe-11g
docker pull wnameless/oracle-xe-11g:14.04.4
Run with 22 and 1521 ports opened:
docker run -d -p 49160:22 -p 49161:1521 wnameless/oracle-xe-11g
Run this, if you want the database to be connected remotely:
docker run -d -p 49160:22 -p 49161:1521 -e ORACLE_ALLOW_REMOTE=true wnameless/oracle-xe-11g
Run this to store data in a volume outside the docker container:
docker run -d -p 49160:22 -p 49161:1521 -v /my/data/folder:/u01/app/oracle/oradata wnameless/oracle-xe-11g
Connect database with following setting:
hostname: localhost
port: 49161
sid: xe
username: system
password: oracle
Password for SYS & SYSTEM
oracle
Login by SSH
ssh root@localhost -p 49160
password: admin
Support custom DB Initialization
# Dockerfile
FROM wnameless/oracle-xe-11g
ADD init.sql /docker-entrypoint-initdb.d/