Files
dockerc/README.md
2024-02-20 02:34:43 -08:00

957 B

dockerc - compile docker images to standalone portable binaries

Usage

Install dockerc from the latest release.

# Image from docker hub
$ dockerc --image docker://oven/bun --output bun
# Image in local docker daemon storage
$ zig-out/bin/dockerc --image docker-daemon:mysherlock-image:latest --output sherlock_bin

Skopeo is used to loading images, for other locations refer to its documentation.

Features

  • Compiler docker images into portable binaries
  • Rootless containers
  • MacOS and Windows support (using QEMU)
  • x86_64 support
  • arm64 support
  • Supports arguments
  • Support -p
  • Support -v
  • Support other arguments...

Why zig?

  • Small binary size
  • Full static linking