Fix waiting for docker containers to exit on shutdown/reboot

See https://discourse.nixos.org/t/docker-hanging-on-reboot/18270/4.
This commit is contained in:
Casper V. Kristensen 2023-10-12 10:19:16 +02:00
parent fafe664c95
commit 469e793c15

View file

@ -7,6 +7,9 @@
enable = true; enable = true;
# Automatically `docker system prune` weekly # Automatically `docker system prune` weekly
autoPrune.enable = true; autoPrune.enable = true;
# Fix waiting for docker containers to exit on shutdown/reboot
# https://discourse.nixos.org/t/docker-hanging-on-reboot/18270/4
liveRestore = false;
}; };
# Being a member of the docker group is effectively equivalent to being root, # Being a member of the docker group is effectively equivalent to being root,