3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules
Bjørn Forsman 5f17aeb403 nixos/docker: default storageDriver to "devicemapper"
Commit 9bfe92ecee ("docker: Minor improvements, fix failing test") added
the services.docker.storageDriver option, made it mandatory but didn't
give it a default value. This results in an ugly traceback when users
enable docker, if they don't pay enough attention to also set the
storageDriver option. (An attempt was made to add an assertion, but it
didn't work, possibly because of how "mkMerge" works.)

The arguments against a default value were that the optimal value
depends on the filesystem on the host. This is, AFAICT, only in part
true. (It seems some backends are filesystem agnostic.) Also, docker
itself uses a default storage driver, "devicemapper", when no
--storage-driver=x options are given. Hence, we use the same value as
default.

Add a FIXME comment that 'devicemapper' breaks NixOS VM tests (for yet
unknown reasons), so we still run those with the 'overlay' driver.

Closes #10100 and #10217.
2015-10-04 14:34:38 +02:00
..
config nixos/fonts: Add unifont to list of default fonts. 2015-09-26 21:04:15 +02:00
hardware Put all firmware in $out/lib/firmware 2015-08-25 00:40:34 +02:00
installer Merge pull request #10160 from dezgeg/pr-unset-build-hook-in-nixos-install 2015-09-30 23:33:07 +02:00
misc xtreemfs: add nixos module 2015-09-22 21:46:52 +02:00
profiles nixos: add xfs support to profiles/minimal 2015-09-18 18:58:18 +00:00
programs Manual: Remove store path references 2015-09-24 11:50:58 +02:00
security nixos: fix some types 2015-09-18 18:48:50 +00:00
services opensmtpd: support filters. 2015-10-02 13:01:50 +02:00
system Merge pull request #10076 from ts468/upstream.systemd 2015-09-30 15:12:43 +02:00
tasks networking module: restructure wlanInterfaces 2015-10-04 11:00:05 +02:00
testing test-instrumentation.nix: Prevent calling a pager 2015-01-15 14:39:29 +01:00
virtualisation nixos/docker: default storageDriver to "devicemapper" 2015-10-04 14:34:38 +02:00
module-list.nix xtreemfs: add nixos module 2015-09-22 21:46:52 +02:00
rename.nix nixos: give users of 'services.openvpn.enable' a nice warning message 2015-09-10 11:38:43 +02:00