Closed yteraoka closed 7 months ago
limactl create --name=default \
--cpus=2 --memory=2 \
--vm-type=vz --mount-type=virtiofs --rosetta \
template://docker
limactl create --name=arm64 \
--arch=aarch64 \
--cpus=2 --memory=2 \
--vm-type=vz --mount-type=virtiofs \
template://docker
limactl create --name=amd64 \
--arch=x86_64 \
--cpus=2 --memory=2 \
--vm-type=qemu --mount-type=9p \
template://docker
Apple silicon で arch=x86_64
を指定する場合には vm-type=vz
が使えない
field `arch` must be "aarch64" for VZ
また、mount-type=virtiofs
も使えず、reverse-sshfs
か 9p
を指定する必要がある
field `mountType` must be "reverse-sshfs" or "9p" for QEMU driver on non-Linux
docker
VM は aarch64
amd64 の container image を試す
arm64 の container image を試す
image は pull できるが実行でコケる
exec format error
arm64 の image なら実行可能