containerd(8)

๐ŸŒธ containerd(8) ๐ŸŒธ

the containerd girlies' handbook, from the System Manager's Manual ๐Ÿ’–


โœจ NAME โœจ

containerd โ€” bestie, this is THE container runtime daemon situation, and we're gonna talk about it ๐Ÿ’…


โœจ SYNOPSIS โœจ

containerd

[--address|-a]=[value]
[--config|-c]=[value]
[--log-level|-l]=[value]
[--root]=[value]
[--state]=[value]

โœจ DESCRIPTION โœจ

okay so. containerd is a high performance container runtime and this command is how you start its daemon ๐Ÿซถ. Real talk: if you don't hand it one of the config, publish, oci-hook, or help commands, then the default action of the containerd command is justโ€ฆ to start the containerd daemon in the foreground. main character energy, honestly. no detaching, no hiding, it just is there ๐Ÿ‘‘

If you don't specify a TOML configuration, or there isn't one chillin' at the default file location, then a default configuration gets used instead. and here's the slay part โ€” the containerd config command exists specifically so you can generate that default configuration. then you can take that output, edit it, remix it, make it yours, and use it as a custom configuration โœจ.

Usage, because we love a template:

containerd [GLOBAL OPTIONS] [command [COMMAND OPTIONS]] [ARGUMENTS...]

โœจ GLOBAL OPTIONS โœจ

  • --address, -a="" โ€” Address for containerd's GRPC server ๐Ÿ“ก
  • --config, -c="" โ€” Path to the configuration file (default: "/etc/containerd/config.toml") ๐Ÿ“„
  • --log-level, -l="" โ€” Set the logging level, and the options are literally: [trace, debug, info, warn, error, fatal, panic] ๐Ÿ”Š
  • --root="" โ€” containerd root directory ๐ŸŒณ
  • --state="" โ€” containerd state directory ๐Ÿ—‚๏ธ

โœจ COMMANDS โœจ

config

Information on the containerd config ๐Ÿ’โ™€๏ธ

default

See the output of the default config ๐Ÿ‘€

dump

See the output of the final main config with imported in subconfig files ๐Ÿ“ฆ

migrate

Migrate the current configuration file to the latest version (does not migrate subconfig files) ๐Ÿšš

ngl bestie, read that parenthetical twice โ€” it does not migrate subconfig files. just the main one. don't come for me, come for the subconfigs ๐Ÿ’€

publish

Binary to publish events to containerd ๐Ÿ“ข

  • --namespace="" โ€” Namespace to publish to ๐Ÿช
  • --topic="" โ€” Topic of the event ๐Ÿท๏ธ

oci-hook

Provides a base for OCI runtime hooks to allow arguments to be injected. ๐Ÿชโœจ


and that's the whole page, bestie!! you understood it, i'm so proud, we're obsessed ๐Ÿ’–

sign-off time: this was containerd(8) from the System Manager's Manual โ€” that's the title and the manual name in one iconic little package ๐Ÿ‘‘๐Ÿฆ‹. mwah, go start a daemon, ily, bye ๐ŸŽ€

๐Ÿ“ฆ where this page comes from