Simply run the following command to start the database
docker run -d --name oracle -p 1521:1521 filemon/oracle_11g
Oracle installation is located in
Hostname is dynamically changed in listener.ora accordingly during the start of the container to allow connections from outside.
LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521)) (ADDRESS = (PROTOCOL = TCP)(HOST = $HOST)(PORT = 1521)) ) ) ADR_BASE_LISTENER = /home/oracle/app/oracle
Database details - tnsnames.ora (/home/oracle/app/oracle/product/11.2.0/dbhome_2/network/admin/tnsnames.ora)
LISTENER_ORCL = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) ORCL = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl) ) )