1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/nixos/modules/virtualisation
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
..
amazon-grow-partition.nix Wait for udev after resizing partitions 2015-09-28 22:15:47 +02:00
amazon-image.nix Blacklist the xen_fbfront kernel module 2015-09-28 22:15:47 +02:00
amazon-init.nix
amazon-options.nix
azure-common.nix
azure-config.nix
azure-image.nix nixos: rename some outputs for better discoverability in /nix/store 2015-09-18 19:00:20 +00:00
brightbox-config.nix
brightbox-image.nix nixos: rename some outputs for better discoverability in /nix/store 2015-09-18 19:00:20 +00:00
container-config.nix
containers.nix
docker-image.nix
docker.nix nixos/docker: default storageDriver to "devicemapper" 2015-10-04 14:34:38 +02:00
ec2-data.nix ec2-data.nix: Remove superfluous check 2015-09-28 13:47:14 +02:00
google-compute-config.nix
google-compute-image.nix nixos: rename some outputs for better discoverability in /nix/store 2015-09-18 19:00:20 +00:00
growpart-util-linux-2.26.patch Update AMI generator 2015-09-27 21:06:40 +02:00
libvirtd.nix
lxc-container.nix
lxc.nix
lxd.nix
nixos-container-completion.sh
nixos-container.pl
nova-config.nix
nova-image.nix
nova.nix
openvswitch.nix Revert "openvswitch module: do not fork services" 2015-09-24 14:58:31 +02:00
parallels-guest.nix
qemu-opts
qemu-vm.nix
virtualbox-guest.nix virtualbox service: add support for vboxsf guest filesystem 2015-09-21 22:32:13 +02:00
virtualbox-host.nix
virtualbox-image.nix Use make-disk-image.nix for VirtualBox images 2015-09-28 14:31:19 +02:00
vmware-guest.nix
xen-dom0.nix
xen-domU.nix