Skip to content

Commit f260a09

Browse files
tollsimynuclearcat
authored andcommitted
remove spawned containers after completion
Signed-off-by: Simone Tollardo <tollsimy.dev@protonmail.com>
1 parent 69d0dc8 commit f260a09

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

kernelci/runtime/docker.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ def submit(self, job_path):
112112
command=os.path.join('/home/kernelci', job_path),
113113
environment=self._env,
114114
extra_hosts=docker_hosts,
115-
detach=True
115+
detach=True,
116+
remove=True
116117
)
117118

118119
def get_job_id(self, job_object):

0 commit comments

Comments
 (0)