2020-03-05 06:46:38 +08:00
|
|
|
---
|
|
|
|
# Please see roles/container-engine/containerd/defaults/main.yml for more configuration options
|
|
|
|
|
2021-05-19 23:24:53 +08:00
|
|
|
# containerd_storage_dir: "/var/lib/containerd"
|
|
|
|
# containerd_state_dir: "/run/containerd"
|
|
|
|
# containerd_oom_score: 0
|
|
|
|
|
2021-04-02 14:20:11 +08:00
|
|
|
# containerd_default_runtime: "runc"
|
|
|
|
# containerd_snapshotter: "native"
|
|
|
|
|
2021-12-14 06:42:25 +08:00
|
|
|
# containerd_runc_runtime:
|
|
|
|
# name: runc
|
|
|
|
# type: "io.containerd.runc.v2"
|
|
|
|
# engine: ""
|
|
|
|
# root: ""
|
|
|
|
|
|
|
|
# containerd_additional_runtimes:
|
2021-04-02 14:20:11 +08:00
|
|
|
# Example for Kata Containers as additional runtime:
|
|
|
|
# - name: kata
|
|
|
|
# type: "io.containerd.kata.v2"
|
|
|
|
# engine: ""
|
|
|
|
# root: ""
|
|
|
|
|
|
|
|
# containerd_grpc_max_recv_message_size: 16777216
|
|
|
|
# containerd_grpc_max_send_message_size: 16777216
|
|
|
|
|
|
|
|
# containerd_debug_level: "info"
|
|
|
|
|
|
|
|
# containerd_metrics_address: ""
|
|
|
|
|
|
|
|
# containerd_metrics_grpc_histogram: false
|
|
|
|
|
2023-08-16 20:18:27 +08:00
|
|
|
# Registries defined within containerd.
|
|
|
|
# containerd_registries_mirrors:
|
|
|
|
# - prefix: docker.io
|
|
|
|
# mirrors:
|
|
|
|
# - host: https://registry-1.docker.io
|
|
|
|
# capabilities: ["pull", "resolve"]
|
|
|
|
# skip_verify: false
|
2021-04-02 14:20:11 +08:00
|
|
|
|
|
|
|
# containerd_max_container_log_line_size: -1
|
2021-08-23 21:40:00 +08:00
|
|
|
|
|
|
|
# containerd_registry_auth:
|
|
|
|
# - registry: 10.0.0.2:5000
|
|
|
|
# username: user
|
|
|
|
# password: pass
|