17 lines
391 B
Markdown
17 lines
391 B
Markdown
# slim
|
|
|
|
Turning containers into bootable VMs
|
|
|
|
## Example - Minimal Alpine Busybox
|
|
|
|
```sh
|
|
# Build the container
|
|
podman build ./example/alpine -t slim-alpine
|
|
|
|
# Make the container bootable by extracing initrd and vmlinuz (initial ramdisk and kernel)
|
|
slim build slim-alpine
|
|
|
|
# Boot the image using QEMU, `./example/alpine/init` will drop you into an interactive shell.
|
|
slim run slim-alpine
|
|
```
|