podman runs on linux, so this script spins up a virtual linux machine, and configures podman to use it as a remote host.
Requires muiltipass
and podman
if you are on Apple Silicon, use multipass 1.8.0
brew install multipass podman
Setup a vm for podman. Values shown here are defaults. Mounts are the same as Docker Desktop.
podman-desktop \
--name podman \
--identity ~/.ssh/id_rsa \
--cpus 2 \
--mem 2G \
--disk 10G \
20.04
If you'd like to pass any other params to multipass launch
, just put them after --
podman-desktop -- --network <spec>
If you'd like to change the default mounts, set the MOUNTS
variable to an array