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

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/28788/head^2
Michael Telatynski 2023-10-16 14:33:03 +01:00 committed by GitHub
parent a01a67eb8e
commit 5a0ebbfdaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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