Skip to main content
100%

lima-vm template to create podman guest based on Debian Trixie

✓ Published0🌍 Public
Aantogg
Last edited Nov 16, 2025
Created on Nov 16, 2025

This example demonstrates a Lima virtual machine template that configures a Debian Trixie guest to run Podman containers instead of the default containerd and nerdctl stack. The template disables containerd, provisions the guest with a system script that installs Podman via `apt install`, and a user script that enables the Podman socket through `systemctl --user enable --now podman.socket`. It exposes the Podman API socket to the host using a port-forward mapping from `/run/user/{{.UID}}/podman/podman.sock` to `{{.Dir}}/sock/podman.sock`, and prints a message with commands to connect via `podman system connection add`. A probe script waits for Podman to become available, checking with `timeout` and `command -v`.

AI-generated description

Similar vizzes