Rebrand to boco
CI / build (push) Successful in 13s

This commit is contained in:
2026-09-11 17:55:53 +02:00
parent 8782baa705
commit 249f2e8520
11 changed files with 141 additions and 141 deletions
+12 -12
View File
@@ -1,4 +1,4 @@
# slim
# boco
Turning containers into bootable VMs
@@ -6,27 +6,27 @@ Turning containers into bootable VMs
```sh
# Build the container
podman build ./example/alpine -t slim-alpine
podman build ./example/alpine -t boco-alpine
# Make the container bootable. slim injects /slim/init and /slim/exec,
# Make the container bootable. boco injects /boco/init and /boco/exec,
# then packs the rootfs as a qcow2 disk.
slim build qcow2 slim-alpine
boco build qcow2 boco-alpine
# Boot the image using QEMU. The container's CMD runs automatically.
slim run slim-alpine
boco boot boco-alpine
# Override the command at runtime (base64-encoded on the kernel cmdline):
slim run slim-alpine --cmd '/bin/sh'
boco boot boco-alpine --cmd '/bin/sh'
# Override the command at build time (baked into /slim/exec):
slim build qcow2 slim-alpine --cmd '/bin/sh'
# Override the command at build time (baked into /boco/exec):
boco build qcow2 boco-alpine --cmd '/bin/sh'
# Cleanup
slim image rm slim-alpine
podman image rm slim-alpine
boco image rm boco-alpine
podman image rm boco-alpine
```
## Kernel
slim boots VMs using a shared kernel at `$XDG_DATA_HOME/slim-rs/registry/vmlinuz`.
Place a suitable x86 bzImage there before running `slim run`.
boco boots VMs using a shared kernel at `$XDG_DATA_HOME/boco/registry/vmlinuz`.
Place a suitable x86 bzImage there before running `boco boot`.