small Linux VM, ready to run containers, for macOS on ARM
- on macOS
curl -Lo- https://github.com/apinske/virt/releases/download/v0.11/virt.tar.gz | tar xzf -
./virt
- in VM
apk upgrade
./setup-vdb.sh
./setup-podman.sh
- to test:
podman run --rm -it alpine
- to test:
./setup-rosetta.sh
- to test:
podman run --rm -it --arch amd64 alpine
- to test:
./setup-k3d.sh
- to test:
kubectl create deployment nginx --image nginx
- to test:
- $HOME is mounted at /mnt/virt/home
- ssh
apk add dropbear && reboot
ssh root@$(ndp -an | grep $(cat .virt.mac) | awk '{print $1}')
- based on 6.6 longterm
- small set of features
- only virtio drivers
- based on Alpine 3.20
- stripped down
- based on Apple Virtualization.framework