Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 5a0ebbf

Browse files
authored
Clean up docker containers created by cypress tests (#11747)
Signed-off-by: Michael Telatynski <[email protected]>
1 parent a01a67e commit 5a0ebbf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cypress/plugins/docker/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ export async function dockerRun(opts: {
5959
"--name",
6060
`${opts.containerName}-${crypto.randomBytes(4).toString("hex")}`,
6161
"-d",
62+
"--rm",
6263
...params,
6364
opts.image,
6465
];

0 commit comments

Comments
 (0)