From 5a0ebbfdaae96fde0b98d832a12e270baf75e601 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Mon, 16 Oct 2023 14:33:03 +0100 Subject: [PATCH] Clean up docker containers created by cypress tests (#11747) Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- cypress/plugins/docker/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/cypress/plugins/docker/index.ts b/cypress/plugins/docker/index.ts index 4c2da5f645..e05b4a3c07 100644 --- a/cypress/plugins/docker/index.ts +++ b/cypress/plugins/docker/index.ts @@ -59,6 +59,7 @@ export async function dockerRun(opts: { "--name", `${opts.containerName}-${crypto.randomBytes(4).toString("hex")}`, "-d", + "--rm", ...params, opts.image, ];