Files
boco/README.md
T
hulthe 8d97fc16c8
CI / build (push) Successful in 13s
Tweak README.md
2026-09-11 18:01:33 +02:00

32 lines
625 B
Markdown

# boco
Turn container images into bootable VMs
## Example
```Dockerfile
FROM alpine:latest
CMD ["/bin/sh"]
```
```sh
# Build the container
podman build ./example/alpine -t boco-alpine
# Make the container bootable. boco injects a custom init program,
# then packs the rootfs as a qcow2 disk.
boco build qcow2 boco-alpine
# Boot the image using QEMU, and drop into /bin/sh.
boco boot boco-alpine
# Cleanup
boco image rm boco-alpine
podman image rm boco-alpine
```
## Kernel
boco boots VMs using a shared kernel at `$XDG_DATA_HOME/boco/registry/vmlinuz`.
Place a suitable x86 bzImage there before running `boco boot`.