Fork from wnameless/oracle-xe-11g-r2
docker pull wnameless/oracle-xe-11g-r2
SSH server has been removed since 18.04, please use "docker exec"
Run with 1521 port opened:
docker run -d -p 49161:1521 wnameless/oracle-xe-11g-r2
Run this, if you want the database to be connected remotely:
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:
docker run -d -p 49161:1521 -e ORACLE_DISABLE_ASYNCH_IO=true wnameless/oracle-xe-11g-r2
Persisting data:
docker run -d -p 49161:1521 -v /srv/oracle/oradata:/u01/app/oracle/oradata:rw wnameless/oracle-xe-11g-r2
Enable XDB user with default password: xdb, run this:
docker run -d -p 49161:1521 -e ORACLE_ENABLE_XDB=true wnameless/oracle-xe-11g-r2
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 wnameless/oracle-xe-11g-r2
ADD init.sql /docker-entrypoint-initdb.d/
ADD script.sh /docker-entrypoint-initdb.d/
Running order is alphabetically.
Content type
Image
Digest
Size
610.3 MB
Last updated
almost 7 years ago
docker pull palidin/oracle-xe-11g