452 B
452 B
slim
Turning containers into bootable VMs
Example - Minimal Alpine Busybox
# Build the container
podman build ./example/alpine -t slim-alpine
# Make the container bootable by extracing initrd (initial ramdisk)
slim build qcow2 slim-alpine --init=/init
# Boot the image using QEMU, `./example/alpine/init` will drop you into an interactive shell.
slim run slim-alpine
# Cleanup
slim image rm slim-alpine
podman image rm slim-alpine