Clean up docker containers created by cypress tests (#11747)

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski
2023-10-16 13:33:03 +00:00
committed by GitHub
parent a01a67eb8e
commit 5a0ebbfdaa
+1
View File
@@ -59,6 +59,7 @@ export async function dockerRun(opts: {
"--name", "--name",
`${opts.containerName}-${crypto.randomBytes(4).toString("hex")}`, `${opts.containerName}-${crypto.randomBytes(4).toString("hex")}`,
"-d", "-d",
"--rm",
...params, ...params,
opts.image, opts.image,
]; ];