summaryrefslogtreecommitdiffstats
path: root/nixos/tests/docker-containers.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/tests/docker-containers.nix')
-rw-r--r--nixos/tests/docker-containers.nix27
1 files changed, 0 insertions, 27 deletions
diff --git a/nixos/tests/docker-containers.nix b/nixos/tests/docker-containers.nix
deleted file mode 100644
index 0e318a52d9f1..000000000000
--- a/nixos/tests/docker-containers.nix
+++ /dev/null
@@ -1,27 +0,0 @@
-# Test Docker containers as systemd units
-
-import ./make-test-python.nix ({ pkgs, lib, ... }: {
- name = "docker-containers";
- meta = {
- maintainers = with lib.maintainers; [ benley mkaito ];
- };
-
- nodes = {
- docker = { pkgs, ... }: {
- virtualisation.docker.enable = true;
-
- docker-containers.nginx = {
- image = "nginx-container";
- imageFile = pkgs.dockerTools.examples.nginx;
- ports = ["8181:80"];
- };
- };
- };
-
- testScript = ''
- start_all()
- docker.wait_for_unit("docker-nginx.service")
- docker.wait_for_open_port(8181)
- docker.wait_until_succeeds("curl http://localhost:8181 | grep Hello")
- '';
-})