digitexp/oracle
Builds from Oracle official source for Docker configurations, images, and examples
426
digitexp/oracle:db-11.2.0.2-xe [ Oracle Database 11g Release 2 (11.2.0.1) Express Edition (SID=XE) ] digitexp/oracle:db-12.2.0.1-ee [ Oracle Database 12c Release 2 (12.2.0.1) Enterprise Edition ]
docker run --name
-p :1521 -p :5500 -p :8080
-e ORACLE_PWD=
-e ORACLE_CHARACTERSET=
-v [:]/u01/app/oracle/oradata[:Z,rw]
digitexp/oracle:db-11.2.0.2-xe
docker run --name
-p :1521 -p :5500
-e ORACLE_SID=
-e ORACLE_PDB=
-e ORACLE_PWD=
-e ORACLE_CHARACTERSET=
-v [:]/opt/oracle/oradata[:Z,rw]
digitexp/oracle:db-12.2.0.1-ee
Parameters: --name: The name of the container (default: auto generated) -p: The port mapping of the host port to the container port. Two ports are exposed: 1521 (Oracle Listener), 5500 (OEM Express) -e ORACLE_SID: The Oracle Database SID that should be used (default: ORCLCDB) -e ORACLE_PDB: The Oracle Database PDB name that should be used (default: ORCLPDB1) -e ORACLE_PWD: The Oracle Database SYS, SYSTEM and PDB_ADMIN password (default: auto generated) -e ORACLE_CHARACTERSET: The character set to use when creating the database (default: AL32UTF8) -v /opt/oracle/oradata The data volume to use for the database. Has to be writable by the Unix "oracle" (uid: 54321) user inside the container! If omitted the database will not be persisted over container recreation. -v /opt/oracle/scripts/startup | /docker-entrypoint-initdb.d/startup Optional: A volume with custom scripts to be run after database startup. For further details see the "Running scripts after setup and on startup" section below. -v /opt/oracle/scripts/setup | /docker-entrypoint-initdb.d/setup Optional: A volume with custom scripts to be run after database setup. For further details see the "Running scripts after setup and on startup" section below.
Once the container has been started and the database created you can connect to it just like to any other database:
sqlplus sys/@//localhost:1521/ as sysdba sqlplus system/@//localhost:1521/ sqlplus pdbadmin/@//localhost:1521/
docker pull digitexp/oracle