Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion runner/jobserv_runner/handlers/simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def hung_cb():
stderr=f,
)

cmd = ["docker", "run"]
cmd = ["docker", "run", "--rm"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

with this, I think we can remove the docker_clean logic

Also - the commit message should explain the why and subject can drop the improvement line.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Improved the commit message and the title. I think we can remove the docker_clean logic too, as what I have seen is that the other directories inside docker did not contribute much to the disk space used.

cmd.extend(["--name", name])
cmd.extend(["-w", self.container_cwd])
cmd.extend(["--env-file", env_file])
Expand Down