$ podman-compose up using podman version: podman version 3.1.0 podman pod create --name=oracle --share net -p 1521:1521 -p 5503:5500 42f9a07c476771498c32dfb2e87fcd08a9bc5d33d2cc6e100d9310bc3624b99e 0 podman create --name=oracle_db --pod=oracle --label io.podman.compose.config-hash=123 --label io.podman.compose.project=oracle --label io.podman.compose.version=0.0.1 --label com.docker.compose.container-number=1 --label com.docker.compose.service=oracle --add-host oracle:127.0.0.1 --add-host oracle_db:127.0.0.1 store/oracle/database-enterprise:12.2.0.1-slim ccb81e09507e9e0e0efdeaa48fac44ef0844f735b7370a092d7f7c1d7673ba9c 0 podman start -a oracle_db Setup Oracle Database Oracle Database 12.2.0.1 Setup Mon Oct 11 17:24:33 UTC 2021 Check parameters ...... log file is : /home/oracle/setup/log/paramChk.log paramChk.sh is done at 0 sec untar DB bits ...... log file is : /home/oracle/setup/log/untarDB.log untarDB.sh is done at 19 sec config DB ...... log file is : /home/oracle/setup/log/configDB.log Mon Oct 11 17:24:52 UTC 2021 Start Docker DB configuration Call configDBora.sh to configure database Mon Oct 11 17:24:52 UTC 2021 Configure DB as oracle user Setup Database directories ... SQL*Plus: Release 12.2.0.1.0 Production on Mon Oct 11 17:24:52 2021 Copyright (c) 1982, 2016, Oracle. All rights reserved. Connected to an idle instance. SQL> File created. SQL> ORACLE instance started. Total System Global Area 1342177280 bytes Fixed Size 8792536 bytes Variable Size 402654760 bytes Database Buffers 922746880 bytes Redo Buffers 7983104 bytes Database mounted. Database opened. SQL> Database altered. SQL> NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ spfile string /u01/app/oracle/product/12.2.0 /dbhome_1/dbs/spfileORCLCDB.or a SQL> NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ encrypt_new_tablespaces string CLOUD_ONLY SQL> User altered. SQL> User altered. SQL> Disconnected from Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production update password Enter password for SYS: create pdb : ORCLPDB1 SQL*Plus: Release 12.2.0.1.0 Production on Mon Oct 11 17:25:14 2021 Copyright (c) 1982, 2016, Oracle. All rights reserved. Connected to: Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production SQL> 2 3 4 5 Pluggable database created. SQL> Pluggable database altered. SQL> Pluggable database altered. SQL> Disconnected from Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production Reset Database parameters SQL*Plus: Release 12.2.0.1.0 Production on Mon Oct 11 17:25:24 2021 Copyright (c) 1982, 2016, Oracle. All rights reserved. Connected to: Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production SQL> System altered. SQL> Disconnected from Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production LSNRCTL for Linux: Version 12.2.0.1.0 - Production on 11-OCT-2021 17:25:24 Copyright (c) 1991, 2016, Oracle. All rights reserved. Starting /u01/app/oracle/product/12.2.0/dbhome_1/bin/tnslsnr: please wait... TNSLSNR for Linux: Version 12.2.0.1.0 - Production System parameter file is /u01/app/oracle/product/12.2.0/dbhome_1/admin/ORCLCDB/listener.ora Log messages written to /u01/app/oracle/diag/tnslsnr/ccb81e09507e/listener/alert/log.xml Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=0.0.0.0)(PORT=1521))) Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521))) Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=0.0.0.0)(PORT=1521))) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for Linux: Version 12.2.0.1.0 - Production Start Date 11-OCT-2021 17:25:25 Uptime 0 days 0 hr. 0 min. 1 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Parameter File /u01/app/oracle/product/12.2.0/dbhome_1/admin/ORCLCDB/listener.ora Listener Log File /u01/app/oracle/diag/tnslsnr/ccb81e09507e/listener/alert/log.xml Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=0.0.0.0)(PORT=1521))) (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521))) The listener supports no services The command completed successfully DONE! Remove password info Docker DB configuration is complete ! configDB.sh is done at 53 sec Done ! The database is ready for use . # =========================================================================== # == Add below entries to your tnsnames.ora to access this database server == # ====================== from external host ================================= ORCLCDB=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=)(PORT=)) (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=ORCLCDB.localdomain))) ORCLPDB1=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=)(PORT=)) (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=ORCLPDB1.localdomain))) # #ip-address : IP address of the host where the container is running. #port : Host Port that is mapped to the port 1521 of the container. # # The mapped port can be obtained from running "docker port " # =========================================================================== ORCLPDB1(3):Database Characterset for ORCLPDB1 is WE8DEC ORCLPDB1(3):Opatch validation is skipped for PDB ORCLPDB1 (con_id=0) 2021-10-11T17:25:23.969884+00:00 ORCLPDB1(3):Opening pdb with no Resource Manager plan active Pluggable database ORCLPDB1 opened read write Completed: alter pluggable database ORCLPDB1 open alter pluggable database all save state Completed: alter pluggable database all save state 2021-10-11T17:25:24.239908+00:00 ALTER SYSTEM SET encrypt_new_tablespaces='DDL' SCOPE=BOTH; 2021-10-11T17:25:38.468619+00:00 Thread 1 advanced to log sequence 15 (LGWR switch) Current log# 3 seq# 15 mem# 0: /u04/app/oracle/redo/redo03.dbf 2021-10-11T17:26:12.232159+00:00 TABLE SYS.WRP$_REPORTS: ADDED INTERVAL PARTITION SYS_P1427 (4302) VALUES LESS THAN (TO_DATE(' 2021-10-12 01:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN')) TABLE SYS.WRP$_REPORTS_DETAILS: ADDED INTERVAL PARTITION SYS_P1428 (4302) VALUES LESS THAN (TO_DATE(' 2021-10-12 01:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN')) TABLE SYS.WRP$_REPORTS_TIME_BANDS: ADDED INTERVAL PARTITION SYS_P1431 (4301) VALUES LESS THAN (TO_DATE(' 2021-10-11 01:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))