Skip to content

Commit e7703e3

Browse files
committed
remove spawned containers after completion
Signed-off-by: Simone Tollardo <[email protected]>
1 parent 6ad79ac commit e7703e3

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)