This project uses code from: https://github.com/oracle/docker-images/tree/main/OracleDatabase/SingleInstance
In addition it uses docker-compose for a more streamlined experience
Get the Linux x86-64 zip of Oracle Database 21c from Oracle Database Software Downloads
Place the LINUX.X64_213000_db_home.zip file in the 21.0.3 folder
Build the docker image using
./buildContainerImage.sh -v 21.3.0 -t docker_oracledb_21 -s -iStart the container. When it's run the first time wait for the database to be configured
docker-compose upConnect using the static IP 172.20.128.2 on port 1521 with the SID ORCLCDB username SYSTEM and password fmilove
Spun up the container using
docker-compose upUse this command
docker exec docker_oracledb_21 ./setPassword.sh <your password>Enter the container using
docker exec -it docker_oracledb_21 /bin/bashConnect using sqlplus
sqlplus / as sysdba