@@ -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`.
|
||||||
|
|||||||
Reference in New Issue
Block a user