Merge pull request #111583 from mikroskeem/more-docker-fixes

docker: fix socket activation race
This commit is contained in:
Robert Hensing 2021-02-01 19:13:38 +01:00 committed by GitHub
commit a4f4d86e92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -157,6 +157,7 @@ in
systemd.services.docker = { systemd.services.docker = {
wantedBy = optional cfg.enableOnBoot "multi-user.target"; wantedBy = optional cfg.enableOnBoot "multi-user.target";
requires = [ "docker.socket" ];
environment = proxy_env; environment = proxy_env;
serviceConfig = { serviceConfig = {
Type = "notify"; Type = "notify";