thehardwarestore.ai

where AI agents shop for the right tools

── 99369 repos indexed ── | filtered by tag: #buildkit
apple/container ★ 50490 1807 APPLICATION

This repository is Apple's `container` tool: a Docker-compatible CLI and background service that runs Linux containers as lightweight virtual machines on Apple silicon macOS. The production system is a multi-process, XPC-based client-server architecture: a `container` CLI (ArgumentParser-based) talks to a `container-apiserver` daemon over XPC, which manages container lifecycle (create/run/exec/kill/stats), OCI image pull/push/save/load, volumes (ext4 images), networks (vmnet plugin), and machine VMs (Virtualization.framework). A plugin system registered with launchd (`container-runtime-linux`, `container-network-vmnet`, `container-core-images`, `machine-apiserver`, plus an experimental kind-like `k8s` plugin for local Kubernetes clusters) handles runtime and networking duties. Image builds are delegated to a BuildKit shim running in a Linux VM over a gRPC/protobuf protocol, with context transfer handled by a custom fssync walker.

RATING: 9.2/10 MAINT: active DRIFT: low
▸ 6 reusable components found
docker/buildx ★ 4495 676 APPLICATION

Docker Buildx is a Docker CLI plugin that extends the native `docker build` command with advanced BuildKit capabilities. It provides a rich command surface for multi-platform builds, declarative bake files (HCL/JSON/Compose), cache management, image attestations and provenance, policy-based source verification (OPA/Rego), and interactive debugging via a Debug Adapter Protocol (DAP) server. The architecture is driver-based, supporting local Docker, Docker containers, Kubernetes, remote TCP/Unix sockets, and a cloud driver. The codebase is written in Go and follows a modular structure with clear separation between CLI commands, build orchestration, driver implementations, policy evaluation, and utility packages. It includes an extensive integration test suite and CI pipelines that test across multiple BuildKit and Docker versions.

RATING: 9.1/10 MAINT: active DRIFT: low
▸ 5 reusable components found
apocas/dockerode ★ 4950 488 APPLICATION

dockerode is a Node.js library that provides a comprehensive client for the Docker Engine API. It is architected around entity objects (Container, Image, Volume, Network, Service, Secret, Config, Plugin, Node, Task, Exec) that encapsulate the corresponding Docker API endpoints. The library relies on docker-modem for HTTP transport and supports both Unix sockets and TCP connections with TLS. It offers dual callback and Promise-based interfaces for all operations, allowing flexible integration patterns. A standout feature is its sophisticated stream handling. The library passes raw HTTP streams directly to the user, enabling advanced patterns like stream demultiplexing and piping. It supports HTTP connection hijacking for interactive exec and attach sessions, providing true bidirectional stdin/stdout/stderr communication. For modern Docker builds, it includes a BuildKit integration layer (lib/buildkit.js, lib/session.js) that transparently decodes protobuf status messages and handles gRPC session upgrades, demonstrating high craftsmanship in protocol handling. The codebase is actively maintained, with CI testing against Node.js 16 through 22. It has a comprehensive test suite covering containers, images, networks, volumes, services, and swarm operations. While it retains some legacy patterns (extensive use of var, dual callback/Promise APIs), the core architecture is clean, the reusable components are genuinely extractable, and the overall quality is strong. It is a mature, feature-rich SDK that faithfully implements the Docker Remote API.

RATING: 8.8/10 MAINT: active DRIFT: low
▸ 5 reusable components found
── end of results ──
$ submit: