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 image with TestContainers on your brand-new MacBook, but there’s a workaround!
TLDR;
Install colima
Run colima start --arch x86_64 --memory 4
Set TestContainers env vars
export TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE=/var/run/docker.sock export DOCKER_HOST="unix://${HOME}/.colima/docker.sock" Run your tests based on Gerald Venzl's Oracle XE image
Source: https://blog.jdriven.com/2022/07/running-oracle-xe-with-testcontainers-on-apple-silicon/