Skip to content

Build/update bootable server images from a container.

License

Notifications You must be signed in to change notification settings

nolanl/mkserver

Repository files navigation

mkserver

A tool for building bootable images for servers from containers.

Primarily intended for read-only rootfs images, it supports building simple images that run a single program (in the "init=/do_things.sh" sense) or images that run with a proper init (1). The command to run is taken from the container's CMD attribute.

Dockerfiles to use as a base are available in docker/.

To generate a new image, use:

$ podman/docker save mycontainer | mkserver --make-bootable /path/to/mounted/sdcard

To test an image locally using qemu:

$ mkserver --run /path/to/imagedir

TODO:

  • Ubuntu, Alpine/Wolfi, Raspbian, Armbian, Openwrt, minimal busybox, Fedora, more?
  • fs-verity?

About

Build/update bootable server images from a container.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published