diff options
author | Matthieu Coudron <mcoudron@hotmail.com> | 2022-09-23 11:42:00 +0200 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2022-09-24 10:42:00 +0200 |
commit | fd62fdca5b4e765b80e94be14001648cc91d6781 (patch) | |
tree | dc32b7d139e2ed16b3534335e74f903c1e4bd57f /nixos/tests/docker.nix | |
parent | d77812e6497896c6b6a0576c6530d491b178a12b (diff) |
virtualisation.docker: require docker.service for docker-prune.service
else docker-prune fails when docker is not launched. Adjusted the test as well
Diffstat (limited to 'nixos/tests/docker.nix')
-rw-r--r-- | nixos/tests/docker.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/tests/docker.nix b/nixos/tests/docker.nix index dee7480eb4a96..93baa198088ba 100644 --- a/nixos/tests/docker.nix +++ b/nixos/tests/docker.nix @@ -11,6 +11,7 @@ import ./make-test-python.nix ({ pkgs, ...} : { { pkgs, ... }: { virtualisation.docker.enable = true; + virtualisation.docker.autoPrune.enable = true; virtualisation.docker.package = pkgs.docker; users.users = { |