Skip to content

Commit

Permalink
Stop any running containers after the job (#392)
Browse files Browse the repository at this point in the history
  • Loading branch information
cmmarslender authored Nov 4, 2024
1 parent 96327eb commit 5b21801
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions linux-runner/templates/post-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,6 @@ else
echo "All delete operations completed successfully."
exit 0
fi

echo "Stopping any running docker containers"
docker stop $(docker ps -a -q) && docker rm $(docker ps -a -q)

0 comments on commit 5b21801

Please sign in to comment.