Back to articles

Tag archive

#macos

Build in the VM, Think on the Mac GPU: Debian 13 on Apple container With a Local Gemma 4
Sep 14, 2026

Build in the VM, Think on the Mac GPU: Debian 13 on Apple container With a Local Gemma 4

Apple's container CLI 1.4.1 cannot boot the official debian:13 image as a machine, because it has no /sbin/init. A small Dockerfile fixes that and gives you a persistent Debian 13 VM with systemd, your Mac user and your home folder. The VM has no GPU, so Ollama runs on macOS and the VM calls it at 192.168.64.1:8000. From inside Debian, gemma4:e2b answered at 45.2 tok/s, loaded 100% on the M3 GPU.

Sep 14, 202616 min read9 reactions1 comments