Docker on macOS at native speed using Ubuntu Virtual Machine (both Intel and Apple Silicon CPU) | by Jan Mikeš | Carvago Development | Medium

PHOTO EMBED

Thu Mar 10 2022 23:45:23 GMT+0000 (UTC)

Saved by @phutti_wat #bash

curl -o initrd https://cloud-images.ubuntu.com/focal/current/unpacked/focal-server-cloudimg-arm64-initrd-generic
curl -o kernel.gz https://cloud-images.ubuntu.com/focal/current/unpacked/focal-server-cloudimg-arm64-vmlinuz-generic
gunzip kernel.gz
curl -o disk.tar.gz https://cloud-images.ubuntu.com/releases/focal/release/ubuntu-20.04-server-cloudimg-arm64.tar.gz
content_copyCOPY

Download necessary files for vm on macos

https://medium.com/carvago-development/my-docker-on-macos-part-1-setup-ubuntu-virtual-machine-both-intel-and-apple-silicon-cpu-5d886af0ebba