nixpkgs/nixos/modules
Jörg Thalheim c23032a8b1 docker: update service units from upstream
All the new options in detail:

Enable docker in multi-user.target make container created with restart=always
to start. We still want socket activation as it decouples dependencies between
the existing of /var/run/docker.sock and the docker daemon. This means that
services can rely on the availability of this socket. Fixes #11478 #21303

  wantedBy = ["multi-user.target"];

This allows us to remove the postStart hack, as docker reports on its own when
it is ready.

  Type=notify

The following will set unset some limits because overhead in kernel's ressource
accounting was observed. Note that these limit only apply to containerd.
Containers will have their own limit set.

  LimitNPROC=infinity
  LimitCORE=infinity
  TasksMax=infinity

Upgrades may require schema migrations. This can delay the startup of dockerd.

  TimeoutStartSec=0

Allows docker to create its own cgroup subhierarchy to apply ressource limits on
containers.

  Delegate=true

When dockerd is killed, container should be not affected to allow
`live restore` to work.

  KillMode=process
2016-12-23 21:39:38 +01:00
..
config /etc/hosts and /etc/nsswitch.conf cleanups 2016-12-17 16:01:35 +01:00
hardware bumblebee service: replace bbswitch option with pmMethod 2016-11-22 02:35:12 +03:00
i18n/input-method ibus: refresh cache at startup 2016-10-03 05:25:41 -05:00
installer nixos-rebuild: Fix SSHOPTS typo 2016-12-18 22:39:27 +01:00
misc nixos/keystone: init at liberty version 2016-12-16 20:53:32 +01:00
profiles nixos: disable sound for minimal ISO 2016-11-23 02:24:13 +01:00
programs fix indentation in several nixos option descriptions 2016-12-16 18:29:25 +01:00
security grsecurity doc: describe work-around for gitlab 2016-12-08 11:59:57 +01:00
services docker: update service units from upstream 2016-12-23 21:39:38 +01:00
system systemd: add slice support 2016-12-20 10:49:08 +01:00
tasks network-interfaces: use enum 2016-11-16 22:37:57 +09:00
testing virtualisation.qemu.program: Remove 2016-12-20 10:52:46 +01:00
virtualisation docker: update service units from upstream 2016-12-23 21:39:38 +01:00
module-list.nix nixos/keystone: init at liberty version 2016-12-16 20:53:32 +01:00
rename.nix tarsnap service: fix multiple simultaneous archives with a single key 2016-11-20 19:15:52 +03:00