From 53587780c36ede956d5bf9d3fac5ba954602d246 Mon Sep 17 00:00:00 2001 From: Joakim Hulthe Date: Fri, 11 Sep 2026 18:08:37 +0200 Subject: [PATCH] Add systemd example to README.md --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 99f6fa0..f168973 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ Turn container images into bootable VMs ## Example ```Dockerfile +# ./example/alpine/Containerfile FROM alpine:latest CMD ["/bin/sh"] ``` @@ -25,6 +26,15 @@ boco image rm boco-alpine podman image rm boco-alpine ``` +Can also be used to boot a more traditional systemd-based VM: + +```Dockerfile +FROM archlinux:latest + +# This works! Although you should probably add a user or some services. +CMD ["/sbin/init"] +``` + ## Kernel boco boots VMs using a shared kernel at `$XDG_DATA_HOME/boco/registry/vmlinuz`.