Skip to content

Commit ea6c749

Browse files
committed
Update config doc
Signed-off-by: Maksym Pavlenko <[email protected]>
1 parent 19cd0a4 commit ea6c749

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

docs/man/containerd-config.toml.5.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,14 @@ settings.
3232
**oom_score**
3333
: The out of memory (OOM) score applied to the containerd daemon process (Default: 0)
3434

35+
**imports**
36+
: Imports is a list of additional configuration files to include.
37+
This allows to split the main configuration file and keep some sections
38+
separately (for example vendors may keep a custom runtime configuration in a
39+
separate file without modifying the main `config.toml`).
40+
Imported files will overwrite simple fields like `int` or
41+
`string` (if not empty) and will append `array` and `map` fields.
42+
3543
**[grpc]**
3644
: Section for gRPC socket listener settings. Contains three properties:
3745
- **address** (Default: "/run/containerd/containerd.sock")
@@ -82,6 +90,7 @@ The following is a complete **config.toml** default configuration example:
8290
root = "/var/lib/containerd"
8391
state = "/run/containerd"
8492
oom_score = 0
93+
imports = ["/etc/containerd/runtime_*.toml", "./debug.toml"]
8594
8695
[grpc]
8796
address = "/run/containerd/containerd.sock"

0 commit comments

Comments
 (0)