Open-Source Wikis

/

containerd

/

Apps

containerd/containerd

Apps

The repository builds four production binaries and a couple of development helpers, all rooted in cmd/.

Binaries

Binary Source Role
containerd cmd/containerd/ The daemon. Loads plugins, exposes gRPC/ttrpc/debug sockets.
containerd-shim-runc-v2 cmd/containerd-shim-runc-v2/ Per-container shim. Exec's runc, owns the container's lifecycle, talks ttrpc back to the daemon.
ctr cmd/ctr/ Development/debug CLI for the daemon. Not stable user-facing.
containerd-stress cmd/containerd-stress/ Concurrency stress driver used in CI and capacity testing.

Helper binaries

Binary Source Purpose
gen-manpages cmd/gen-manpages/ Renders urfave/cli command trees to roff manpages
go-buildtag cmd/go-buildtag/ Postprocessor that injects //go:build constraints into generated _grpc.pb.go files so the shim can be built without gRPC
protoc-gen-go-fieldpath cmd/protoc-gen-go-fieldpath/ Protobuf plugin that generates a Field accessor for events used in filters

Build entry points

All binaries are built by the same Make rule:

bin/%: cmd/% FORCE
    $(call BUILD_BINARY)

The rule is overridden for containerd-shim-runc-v2, which is built with CGO_ENABLED=0 and no_grpc for a static, gRPC-free shim, and for gen-manpages, which is built without the urfave_cli_no_docs build tag so it can render docs.

Built by Factory AutoWiki from public repository content. It is a generated preview for codebase exploration, not source-maintained documentation.

Apps – containerd wiki | Factory