Fix: use config version 4 for containerd 2.3+ (#13285) (#13286)

Signed-off-by: longyuxiang <longyuxiang@kylinos.cn>
This commit is contained in:
longxiucai
2026-06-05 10:49:58 +08:00
committed by GitHub
parent bd21d04c4f
commit a72ea49b2e
@@ -1,4 +1,8 @@
{% if containerd_version is version('2.3.0', '>=') %}
version = 4
{% else %}
version = 3
{% endif %}
root = "{{ containerd_storage_dir }}"
state = "{{ containerd_state_dir }}"