Go to file
Morgan 8976239e30
prevs
2024-03-13 04:03:31 +09:00
prev prevs 2024-03-13 04:03:31 +09:00
utils Init 2024-03-13 03:29:31 +09:00
README.md Update README.md 2024-03-13 03:28:24 +09:00
binarify Fix 2024-03-13 03:51:24 +09:00
binarify.sh Init 2024-03-13 03:29:31 +09:00
makebin.sh Fix 2024-03-13 03:51:24 +09:00

README.md

binarify

Container Image to Self-Extracting Binary

Influenced by NilsIrl/dockerc, but with bash and without FUSE.

Rather than using FUSE which requires installing FUSE package, it just extracts image like Container runtimes.

It will take more time to launch for image to be extracted.

It is not recommended for real-life use.

It uses jq, crun, umoci at runtime.

Usage

binarify --image docker://oven/bun --output bun.binary

./bun.binary --mount myapp:/data:ro --env API=123456789 -- run /data/app.bash

To build binarify:

binarify is itself self-extracting execuatble.

./makebin.sh binarify.sh utils/crun utils/umoci utils/jq > binarify