Just a docker-compose file based on official Oracle docker images repo
Before starting up the database, change the password in docker-compose.yml:
environment:
- ORACLE_PWD=<your password>
Then run:
docker-compose up
To access sqlplus use:
docker-compose exec database sqlplus sys/<your password>@//localhost:1521/XE as sysdba
docker-compose exec database sqlplus system/<your password>@//localhost:1521/XE
docker-compose exec database sqlplus pdbadmin/<your password>@//localhost:1521/XEPDB1