3
0
Fork 0
forked from mirrors/nixpkgs
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 Remove option ec2.metadata 2015-06-30 17:25:56 +02:00
amazon-options.nix Move amazon option out of amazon-image.nix, needed to make ec2.hvm usable from nixops, without breaking evaluation for other backends. 2015-02-16 09:57:19 +00:00
azure-common.nix Revert "Set boot.loader.grub.configurationLimit to 1 for gce/azure/amazon images. Setting to 0 results in empty grub config." 2015-05-29 13:26:51 -07:00
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 Add initial Brightbox expression. 2015-08-08 19:50:22 +00:00
brightbox-image.nix nixos: rename some outputs for better discoverability in /nix/store 2015-09-18 19:00:20 +00:00
container-config.nix Use ConditionVirtualization to disable some services in containers 2015-07-22 12:23:40 +02:00
containers.nix nixos: fix some types 2015-09-18 18:48:50 +00:00
docker-image.nix container.nix -> docker-container.nix 2015-04-19 22:06:45 +02:00
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 Work around infinite recursion issue in nixops. 2015-04-29 09:55:20 +00:00
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 nixos/libvirtd: remove --verbose flag 2015-05-20 12:14:18 +02:00
lxc-container.nix container.nix -> docker-container.nix 2015-04-19 22:06:45 +02:00
lxc.nix nixos: citerefentry markup in lxc option descriptions 2015-02-28 09:21:48 +01:00
lxd.nix nixos/lxd: Add service 2015-09-13 23:27:31 -07:00
nixos-container-completion.sh nixos-container: Add bash completion for "nixos-container" command 2015-09-16 22:18:48 +02:00
nixos-container.pl nixos-container: Fix show-host-key 2015-09-08 15:57:49 +02:00
nova-config.nix
nova-image.nix nova-image: Delete no longer used comment 2015-05-26 11:05:52 +01:00
nova.nix nixos: Replace pkgs.openssh with config.programs.ssh.package 2015-06-26 17:09:58 -07:00
openvswitch.nix Revert "openvswitch module: do not fork services" 2015-09-24 14:58:31 +02:00
parallels-guest.nix "Parallel Tools" -> Parallels Tools 2015-09-15 08:51:02 +02:00
qemu-opts
qemu-vm.nix Installer test: Fix booting from SCSI 2015-06-17 15:47:43 +02:00
virtualbox-guest.nix virtualbox service: add support for vboxsf guest filesystem 2015-09-21 22:32:13 +02:00
virtualbox-host.nix nixos/vbox: Move all options to virtualisation.*. 2015-08-13 12:28:24 +02:00
virtualbox-image.nix Use make-disk-image.nix for VirtualBox images 2015-09-28 14:31:19 +02:00
vmware-guest.nix fix argument in mkEnableOption 2015-06-21 18:21:21 +03:00
xen-dom0.nix xen: fixes (authored by michalpalka) 2015-07-15 12:38:37 +02:00
xen-domU.nix Update: add new Xen versions + update NixOS Xen modules 2015-02-25 23:30:44 +01:00