Skip to content

Commit 1aa6b25

Browse files
authored
Ensure that exited docker containers do not pollute self-hosted instances #1567
1 parent a38f713 commit 1aa6b25

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/docker-provider/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ class DockerTaskOperations implements TaskOperations {
115115
const runArgs = [
116116
"run",
117117
`--network=${DOCKER_NETWORK}`,
118+
"--rm",
118119
"--detach",
119120
`--env=TRIGGER_ENV_ID=${opts.envId}`,
120121
`--env=TRIGGER_RUN_ID=${opts.runId}`,

0 commit comments

Comments
 (0)