Skip to content

Instantly share code, notes, and snippets.

View flrichar's full-sized avatar
Context is key.

Fred Richards flrichar

Context is key.
  • SUSE Rancher
  • Marcellus, NY
View GitHub Profile
@flrichar
flrichar / lima-on-m1-mac-installation-guide.md
Created January 21, 2023 16:56 — forked from toricls/lima-on-m1-mac-installation-guide.md
Using Lima to run containers with containerd and nerdctl (without Docker Desktop) on M1 Macs

Lima (Linux virtual machines, on macOS) installation guide for M1 Mac.

Sep. 27th 2021 UPDATED

Now we can install patched version of QEMU via Homebrew (thank you everyone for the info!). Here is the updated instruction with it:

Used M1 Mac mini 2020 with macOS Big Sur Version 11.6.

1. Install QEMU & Lima

Test basic disk performance with fio

You can test I/O disk performance via the following commands:

cd /mount/point/of/disk/to/test
# Test read performance
fio --name randread --fsync=1 --direct=1 --rw=randread --blocksize=4k --numjobs=8 --size=512M --time_based --runtime=60 --group_reporting

# Test write performance