Public Repository

Last pushed: a year ago
Short Description
Docker image for Oracle Database 11g
Full Description

Docker image for Oracle Database 11g (database installed)

Build from this guide : https://github.com/jaspeen/oracle-11g


Run Oracle DB 11g from docker

$ docker run -d -p 1521:1521 iatebes/oracle_11g

OS users

  • root/install
  • oracle/install

DB users

  • SYS/oracle

SID

  • orcl

Database location

/opt/oracle

TNS String pattern

(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=<IP_DOCKER_HOST>)(PORT=<PORT_MAPPING>)))(CONNECT_DATA=(SERVICE_NAME=orcl)))

Example in my case with above docker run command :
IP_DOCKER_HOST = 10.33.66.127
PORT_MAPPING = 1521

(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=10.33.66.127)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=orcl)))

Docker run command with folder mapping

Optionally you can map dpdump folder to easy upload dumps:

docker run -d --privileged --name oracle11g -p 1521:1521 -v <local_dpdump>:/opt/oracle/dpdump iatebes/oracle_11g

To execute impdp/expdp just use docker exec command:

docker exec -it oracle11g impdp ..
Docker Pull Command
Owner
iatebes

Comments (0)