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, ];