ランキングに戻る

NilsIrl/dockerc

Zig

container image to single executable compiler

containersdockerocioci-image
スター成長
スター
4.9k
フォーク
107
週間成長
Issue
25
2k4k
2024年2月2024年11月2025年9月2026年7月
README

dockerc - compile docker images to standalone portable binaries

No more Tweet

No more docker run, no more pip install, no more npm i, just give your users executables they can run!

Usage

Install dockerc from the latest release.

# Image from docker hub
$ dockerc --image docker://oven/bun --output bun
# Image in local docker daemon storage
$ dockerc --image docker-daemon:mysherlock-image:latest --output sherlock_bin
# Specify target instruction set architecture
$ dockerc --image docker://hello-world --arch arm64 --output hello

The output binary can then be called as you would with usual binaries. You can also specify -e, and -v in the same way you would when using docker run. Networked services running inside the container can be accessed directly without having to specify -p.

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

Build from source

Please note that this project uses Git submodules. If you clone this repository, you may need to run the following commands to initialize and update the submodules:

$ git submodule init
$ git submodule update

This will ensure that you download and update all relevant submodule contents.

dockerc uses a patched version of the zig compiler than can be found on the nils-dockerc-version branch of the NilsIrl/zig repository. There is an open PR for the patch to be included in upstream zig.

To compile dockerc use the following commands:

$ zig build -Doptimize=ReleaseSafe -Dtarget=x86_64-linux-musl
$ zig build -Doptimize=ReleaseSafe -Dtarget=aarch64-linux-musl

Features

関連リポジトリ
kubernetes/kubernetes

Production-Grade Container Scheduling and Management

GoGo ModulesApache License 2.0kubernetesgo
kubernetes.io
123.9k43.7k
bregman-arie/devops-exercises

Linux, Jenkins, AWS, SRE, Prometheus, Docker, Python, Ansible, Git, Kubernetes, Terraform, OpenStack, SQL, NoSQL, Azure, GCP, DNS, Elastic, Network, Virtualization. DevOps Interview Questions

PythonPyPIOtherdevopsaws
83.3k19.8k
moby/moby

The Moby Project - a collaborative project for the container ecosystem to assemble container-based systems

GoGo ModulesApache License 2.0dockercontainers
mobyproject.org
71.9k19k
aquasecurity/trivy

Find vulnerabilities, misconfigurations, secrets, SBOM in containers, Kubernetes, code repositories, clouds and more

GoGo ModulesApache License 2.0securitysecurity-tools
trivy.dev
37k547
firecracker-microvm/firecracker

Secure and fast microVMs for serverless computing.

Rustcrates.ioApache License 2.0virtual-machinesandbox
firecracker-microvm.io
35.6k2.5k
podman-container-tools/podman

Podman: A tool for managing OCI containers and pods.

GoGo ModulesApache License 2.0containersdocker
podman.io
32.3k3.2k
dokku/dokku

A docker-powered PaaS that helps you build and manage the lifecycle of applications

ShellMIT Licensedokkupaas
dokku.com
32k2.1k
kubernetes/minikube

Run Kubernetes locally

GoGo ModulesApache License 2.0minikubekubernetes
minikube.sigs.k8s.io
32k5.3k
abiosoft/colima

Container runtimes on macOS (and Linux) with minimal setup

GoGo ModulesMIT Licensedockerdocker-compose
colima.run
30k593
MichaelCade/90DaysOfDevOps

This repository started out as a learning in public project for myself and has now become a structured learning map for many in the community. We have 3 years under our belt covering all things DevOps, including Principles, Processes, Tooling and Use Cases surrounding this vast topic.

ShellOtherdevopskubernetes
90daysofdevops.com
29.6k6.8k
goharbor/harbor

An open source trusted cloud native registry project that stores, signs, and scans content.

GoGo ModulesApache License 2.0cncfcontainer
goharbor.io
29k5.3k
dapr/dapr

Dapr is a portable runtime for building distributed applications across cloud and edge, combining event-driven architecture with workflow orchestration.

GoGo ModulesApache License 2.0microservicesmicroservice
dapr.io
26k2.1k