# nilsirl/dockerc

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/nilsirl-dockerc).**

4,909 stars · 107 forks · Zig · GPL-3.0

## Links

- GitHub: https://github.com/NilsIrl/dockerc
- awesome-repositories: https://awesome-repositories.com/repository/nilsirl-dockerc.md

## Topics

`containers` `docker` `oci` `oci-image`

## Description

dockerc is a container image compiler that converts OCI-compliant images into standalone executable binaries. It functions as a containerless application distributor, enabling the deployment of containerized workloads as single files that run without requiring a container runtime on the host system.

The system achieves zero-dependency distribution by flattening container image layers and embedding the root filesystem as a data blob within the resulting static binary. It uses a shim-based process execution model to simulate the container environment and provides a mechanism to expose internal network services to external callers without manual port mapping.

Additional capabilities include the ability to configure the runtime environment and mount volumes through command-line flags. These arguments are injected directly into the bundled application process during execution.

## Tags

### DevOps & Infrastructure

- [Container-to-Executable Compilers](https://awesome-repositories.com/f/devops-infrastructure/container-to-executable-compilers.md) — Converts OCI-compliant container images into standalone executable binaries that operate without a host container runtime. ([source](https://github.com/nilsirl/dockerc#readme))
- [Container Image Compilers](https://awesome-repositories.com/f/devops-infrastructure/container-image-compilers.md) — Functions as a compiler that converts container images into standalone executable binaries.
- [Layer Flatteners](https://awesome-repositories.com/f/devops-infrastructure/container-orchestration/image-management-tools/image-layer-analyzers/layer-flatteners.md) — Consolidates multiple container image layers into a single flat representation before compilation into a binary.
- [Standalone Container Distributions](https://awesome-repositories.com/f/devops-infrastructure/container-orchestration/platforms/standalone-container-distributions.md) — Distributes software by converting container images into single executable binaries, removing the need for a host container runtime.
- [Containerized Application Deployments](https://awesome-repositories.com/f/devops-infrastructure/containerized-application-deployments.md) — Enables the deployment of containerized applications as standalone binaries to eliminate dependency on orchestration tools.
- [Containerless Application Distributors](https://awesome-repositories.com/f/devops-infrastructure/containerless-application-distributors.md) — Provides a system for deploying containerized workloads as single executables with built-in network service exposure.
- [OCI Image to Binary Converters](https://awesome-repositories.com/f/devops-infrastructure/oci-image-to-binary-converters.md) — Bundles OCI-compliant container images into single executable files for simplified distribution and execution.

### Development Tools & Productivity

- [Portable Executables](https://awesome-repositories.com/f/development-tools-productivity/portable-executables.md) — Bundles application environments into a single binary to ensure consistent execution across machines without manual setup.
- [Shim Execution Models](https://awesome-repositories.com/f/development-tools-productivity/process-execution-layers/shim-execution-models.md) — Wraps the container entrypoint in a lightweight binary shim to simulate the container runtime environment.
- [Static Binary Compilers](https://awesome-repositories.com/f/development-tools-productivity/static-binaries/static-binary-compilers.md) — Bundles container assets and image layers into a single self-contained, statically linked executable.

### Operating Systems & Systems Programming

- [Embedded Binary Filesystems](https://awesome-repositories.com/f/operating-systems-systems-programming/root-filesystem-generators/root-filesystem-bootstrapping/embedded-binary-filesystems.md) — Embeds the container root filesystem as a static data blob within the resulting executable binary.

### Networking & Communication

- [Automatic Port Mapping](https://awesome-repositories.com/f/networking-communication/network-port-configuration/automatic-port-mapping.md) — Automatically handles networking for embedded services by routing external traffic to the internal process.
- [Service Exposure](https://awesome-repositories.com/f/networking-communication/service-exposure.md) — Provides a mechanism to make internal services accessible to external networks without manual port mapping. ([source](https://github.com/nilsirl/dockerc#readme))

### Software Engineering & Architecture

- [Zero-Dependency Binary Distributions](https://awesome-repositories.com/f/software-engineering-architecture/zero-dependency-libraries/zero-dependency-binary-distributions.md) — Packages the entire runtime environment and application into one executable to remove reliance on external image registries.
