/podman-desktop

launch and setup vms for podman

Primary LanguageShell

podman-desktop

podman runs on linux, so this script spins up a virtual linux machine, and configures podman to use it as a remote host.

Screen Shot 2021-09-03 at 11 22 37 AM

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