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 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

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