OraMatt: YABAOracle

Yet Another Blog About Oracle

, , , ,

Run Oracle 23ai on MacBook Pro with Apple Silicon (this works)

I’ve been a long time fan of running containers to quickly spin up a developer environment unfortunately my preferred dev platform is MacOS on the new Apple Silicon based MacBooks (maybe you see where this is going…). In order to use the excellent Oracle 23ai Free containers, I previously used CoLiMa to use the x86_64 based images. Oracle has recently released the ARM64 based images and I decided it was time to revisit my Docker scripts and switch up to Podman . In my observations, it appears Podman is faster for most container things.

Here are the broad brush strokes for setting up Podman on your Apple Silicon based MacBook.

  1. Install Homebrew
    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  2. Install Podman and its dependancies
    brew tap cfergeau/crc;brew install vfkit;brew install qemu;brew install podman;brew install podman-desktop
  3. Initialize Podman
    podman machine init --cpus 8 --memory 16384 --disk-size 550
  4. Start Podman
    podman machine start
  5. Pull the Oracle 23ai Free container
    podman run -d -p 1521:1521 -p 5902:5902 -p 5500:5500 -p 8080:8080 -p 8443:8443 -p 27017:27017 -it --name Oracle_DB_Container container-registry.oracle.com/database/free:23.5.0.0-lite
  6. Do useful things
    😀

I made all this automated and available here.

Enjoy,
Matt

Leave a comment

Navigation

About

I’m Matt and I do Oracle things.