From 9360e789c670bca6cb51fb77d0907aa04e252010 Mon Sep 17 00:00:00 2001 From: Mark Vainomaa Date: Mon, 1 Feb 2021 18:14:43 +0200 Subject: [PATCH] docker: fix socket activation race --- nixos/modules/virtualisation/docker.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/virtualisation/docker.nix b/nixos/modules/virtualisation/docker.nix index 689f664b676..b1415bf021d 100644 --- a/nixos/modules/virtualisation/docker.nix +++ b/nixos/modules/virtualisation/docker.nix @@ -157,6 +157,7 @@ in systemd.services.docker = { wantedBy = optional cfg.enableOnBoot "multi-user.target"; + requires = [ "docker.socket" ]; environment = proxy_env; serviceConfig = { Type = "notify";