diff options
author | Benjamin Staffin <benley@gmail.com> | 2019-03-24 18:59:09 -0400 |
---|---|---|
committer | Danylo Hlynskyi <abcz2.uprola@gmail.com> | 2019-03-25 00:59:09 +0200 |
commit | c94005358c185d8262814a5b59b2b4185183bd95 (patch) | |
tree | 730f4f61f6d7a7fbb2c20e1ad5d0abd4ee530252 /nixos/tests/all-tests.nix | |
parent | 0ee682da538489e032ccbdf7ba243a919677718c (diff) | |
download | nixlib-c94005358c185d8262814a5b59b2b4185183bd95.tar nixlib-c94005358c185d8262814a5b59b2b4185183bd95.tar.gz nixlib-c94005358c185d8262814a5b59b2b4185183bd95.tar.bz2 nixlib-c94005358c185d8262814a5b59b2b4185183bd95.tar.lz nixlib-c94005358c185d8262814a5b59b2b4185183bd95.tar.xz nixlib-c94005358c185d8262814a5b59b2b4185183bd95.tar.zst nixlib-c94005358c185d8262814a5b59b2b4185183bd95.zip |
NixOS: Run Docker containers as declarative systemd services (#55179)
* WIP: Run Docker containers as declarative systemd services * PR feedback round 1 * docker-containers: add environment, ports, user, workdir options * docker-containers: log-driver, string->str, line wrapping * ExecStart instead of script wrapper, %n for container name * PR feedback: better description and example formatting * Fix docbook formatting (oops) * Use a list of strings for ports, expand documentation * docker-continers: add a simple nixos test * waitUntilSucceeds to avoid potential weird async issues * Don't enable docker daemon unless we actually need it * PR feedback: leave ExecReload undefined
Diffstat (limited to 'nixos/tests/all-tests.nix')
-rw-r--r-- | nixos/tests/all-tests.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix index 69510c1420fa..a5acf78a8839 100644 --- a/nixos/tests/all-tests.nix +++ b/nixos/tests/all-tests.nix @@ -59,6 +59,7 @@ in dhparams = handleTest ./dhparams.nix {}; dnscrypt-proxy = handleTestOn ["x86_64-linux"] ./dnscrypt-proxy.nix {}; docker = handleTestOn ["x86_64-linux"] ./docker.nix {}; + docker-containers = handleTestOn ["x86_64-linux"] ./docker-containers.nix {}; docker-edge = handleTestOn ["x86_64-linux"] ./docker-edge.nix {}; docker-preloader = handleTestOn ["x86_64-linux"] ./docker-preloader.nix {}; docker-registry = handleTest ./docker-registry.nix {}; |