Add basic README.md with an example
CI / build (push) Successful in 11s

This commit is contained in:
2026-08-26 23:46:57 +02:00
parent 6af8660f8d
commit 56a76ce934
3 changed files with 55 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
# slim
Turning containers into bootable VMs
## Example - Minimal Alpine Busybox
```sh
# Build the container
podman build ./example/alpine -t slim-alpine
# Make the container bootable by extracing initrd and vmlinuz (initial ramdisk and kernel)
slim build slim-alpine
# 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
```