← Back to list

Run x86/amd64 based images on Apple M1/M2 Macs

Recently, I have been involved in migrating one of our CI pipelines from Jenkins to some other Tool. During the process, I had to debug an…

Ravi Yasakeerthi · 2023-09-12 08:30 · 46 claps · 1.3 min read paywalled
#colima #mac #containers #oracle-xe
Open on Medium ↗
Wiki topics: ☁️ · DevOps & Cloud

Run x86/amd64 based images on Apple M1/M2 Macs

Recently, I have been involved in migrating one of our CI pipelines from Jenkins to some other Tool. During the process, I had to debug an integration test that involved running multiple container images using docker-compose.

Ideally, to debug this test locally, I would need to run the docker-compose on my local machine. However, since I’m using an Apple M1, some of the images are not working/supported as expected. For example, Oracle XE images cannot run on the new Apple M chips via Docker Desktop.

As a workaround, we can use colima (containers on lima)

[embed]GitHub - abiosoft/colima: Container runtimes on macOS (and Linux) with minimal setup Container runtimes on macOS (and Linux) with minimal setup - GitHub - abiosoft/colima: Container runtimes on macOS (and…github.com

You can install it via brew

brew install colima

To start it

colima start --cpu 2 --memory 4 --disk 50 --arch x86_64

Now, your docker runtime is ready to run any x86_64 container images on your Mac M1/M2.

[embed]

To set your default preferences, you can edit the config file using the following command.

colima start --edit

Known issue on M2 (Ventura)

[embed]FATA[0600] error starting vm: error at 'creating and starting': exit status 1 · Issue #787 ·… Description Hi Team, I am new to colima. I am trying to get it up on macos with M2 chip. It is getting stuck at…github.com

Downgrading qemu from 8.1.0 to 8.0.4 works for me.


메타데이터
post_id
f652cd841cfd
slug
run-x86-amd64-based-images-on-apple-m1-m2-macs-f652cd841cfd
url
https://medium.com/@lkravi/run-x86-amd64-based-images-on-apple-m1-m2-macs-f652cd841cfd
canonical_url
https://medium.com/@lkravi/run-x86-amd64-based-images-on-apple-m1-m2-macs-f652cd841cfd
author_url
https://medium.com/@lkravi
status
ok
fetched_at
2026-08-06 05:50:16