From bd14d737946ecc507b73850ce16887703751a567 Mon Sep 17 00:00:00 2001 From: Alex Zero Date: Thu, 29 Jul 2021 15:58:23 +0100 Subject: [PATCH] nixos/modules/virtualisation/containerd: do not wipe runtime directory on restart or stop --- nixos/modules/virtualisation/containerd.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/virtualisation/containerd.nix b/nixos/modules/virtualisation/containerd.nix index c7ceb816a311..43cb6273f253 100644 --- a/nixos/modules/virtualisation/containerd.nix +++ b/nixos/modules/virtualisation/containerd.nix @@ -86,6 +86,7 @@ in StateDirectory = "containerd"; RuntimeDirectory = "containerd"; + RuntimeDirectoryPreserve = "yes"; }; unitConfig = { StartLimitBurst = "16";