Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | docker module: updates | Jaka Hudoklin | 2016-09-13 |
| | | | | | | | | | - logDriver option, use journald for logging by default - keep storage driver intact by default, as docker has sane defaults - do not choose storage driver in tests, docker will choose by itself - use dockerd binary as "docker daemon" command is deprecated and will be removed - add overlay2 to list of storage drivers | ||
* | nixos/tests: fix docker test | Joachim Fasting | 2016-03-19 |
| | | | | | | | | | The docker service is socket activated by default; thus, `waitForUnit("docker.service")` before any docker command causes the unit test to time out. Instead, do `waitForUnit("sockets.target")` to ensure that sockets are setup before running docker commands. | ||
* | nixos/docker: default storageDriver to "devicemapper" | Bjørn Forsman | 2015-10-04 |
| | | | | | | | | | | | | | | | | | | | | | 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. | ||
* | docker: Minor improvements, fix failing test | Ragnar Dahlén | 2015-09-04 |
| | | | | | | - Replace usage of deprecated CLI flag `--daemon` - Introduce `storageDriver` option for module - Fix failing test by using `overlay` storage driver | ||
* | all tests: added meta.maintainers section | Joachim Schiele | 2015-07-12 |
| | |||
* | nixos docker: fix service and test | Luca Bruno | 2015-07-05 |
| | |||
* | nixos/docker: fix module, add simple test | Jaka Hudoklin | 2014-12-01 |