Lima-vm

Installation

Follow installation instructions for Macos.

Create a new VM with the following command:

limactl start template://docker --rosetta

--rosetta flag is required for working with x86_64 containers, if you don't need it, you can omit it.

Accessing the VM with the following command:

limactl shell docker

Tunnel Access

If you want to browse using a browser that's aware of the network in the lima-vm instance, you can use the following command:

limactl tunnel --socks-port 1080 default

Later in the browser (I'm using firefox), you can set the SOCKS proxy to socks://localhost:1080.