Unfortunately Oracle databases aren’t compatible with the new Apple Silicon CPU architecture. Due to this fact you’re not able to run an Oracle XE database on your brand-new MacBook, but there’s a workaround!
Install and Run
Install colima with your favorite package manager for Mac.
colima start --arch x86_64 --memory 4, the
--arch x64_86is the important part here to match the CPU architecture to be compatible with the Oracle XE docker images, the additional
memory-flag is for performance reasons.
Run the Oracle XE container
docker run -d -p 1521:1521 -e ORACLE_PASSWORD=<your password> gvenzl/oracle-xe, the Docker Hub page shows all the options available