summaryrefslogtreecommitdiffstats
path: root/nixos/tests/docker-registry.nix
AgeCommit message (Collapse)Author
2021-01-10treewide: simplify pkgs.stdenv.lib -> pkgs.libDominik Xaver Hörl
The library does not depend on stdenv, that `stdenv` exposes `lib` is an artifact of the ancient origins of nixpkgs.
2019-11-24nixos/docker-registry: port test to python test-driverMaximilian Bosch
2018-07-20[bot] nixos/*: remove unused arguments in lambdasvolth
2018-05-01nixos/docker-registry: Add support for garbage collector to docker registryMichele Catalano
2018-05-01nixos/docker-registry: cleanup module definition & enhance testcaseMaximilian Bosch
The following changes have been applied: - the property `http.headers.X-Content-Type-Options` must a list of strings rather than a serialized list - instead of `/etc/docker/registry/config.yml` the configuration will be written with `pkgs.writeText` and the store path will be used to run the registry. This reduces the risk of possible impurities by relying on the Nix store only. - cleaned up the property paths to easy readability and reduce the verbosity. - enhanced the testcase to ensure that digests can be deleted as well - the `services.docker-registry.extraConfig` object will be merged with `registryConfig` /cc @ironpinguin
2016-12-23docker: update service units from upstreamJörg Thalheim
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-10-12dockerRegistry module: re-init with new underlying softwareRobin Gloster
2016-09-09Remove docker-registry as it's deprecated #18209Domen Kožar
2015-07-12all tests: added meta.maintainers sectionJoachim Schiele
2014-11-22nixos: add docker-registry moduleJaka Hudoklin