Add systemd example to README.md
CI / build (push) Successful in 13s

This commit is contained in:
2026-09-11 18:08:37 +02:00
parent 8d97fc16c8
commit 53587780c3
+10
View File
@@ -5,6 +5,7 @@ Turn container images into bootable VMs
## Example ## Example
```Dockerfile ```Dockerfile
# ./example/alpine/Containerfile
FROM alpine:latest FROM alpine:latest
CMD ["/bin/sh"] CMD ["/bin/sh"]
``` ```
@@ -25,6 +26,15 @@ boco image rm boco-alpine
podman 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 ## Kernel
boco boots VMs using a shared kernel at `$XDG_DATA_HOME/boco/registry/vmlinuz`. boco boots VMs using a shared kernel at `$XDG_DATA_HOME/boco/registry/vmlinuz`.